File Exchange

image thumbnail

Tetris Solver (non-playable)

version 1.2.0.0 (82.3 KB) by Joren Heit
This program tries to solve the Tetris problem guided by 4 constraints. Block Editor included.

2 Downloads

Updated 20 Jun 2011

View Version History

View License

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 (2021). Tetris Solver (non-playable) (https://www.mathworks.com/matlabcentral/fileexchange/31765-tetris-solver-non-playable), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Javier Valdés

Nieko Borela

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!