Tetris Solver (non-playable)

This program tries to solve the Tetris problem guided by 4 constraints. Block Editor included.

You are now following this Submission

To start GUI: >>tetrisgui

The program tries to place each block as best as possible, using a set of four rules:

1. Try to complete rows.
2. Try to fit the block nicely.
3. Try to place the block as low as possible.
4. Try to avoid creating cavities

The weight (relative importance) of each rule can be set in the GUI.
Also, a Block Editor is included that allows the user to create custom blocks and blocksets to experiment with.

Cite As

Joren Heit (2026). Tetris Solver (non-playable) (https://uk.mathworks.com/matlabcentral/fileexchange/31765-tetris-solver-non-playable), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Video games in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Added comments to the code, removed a large amount of bugs, increased speed by rewriting large portions of code, added a log option.

1.0.0.0