GCWizard
GCWizard copied to clipboard
Tetris Puzzle Solver
https://fdossena.com/?p=talos/index.frag with source code
Had a look at the code. seems to be extremely simple try and error backtracking code. Could take really long time.
However, i believe it is possible to make it more general to add other than only tetris blocks. The workflow shouldn't be different.
Maybe add a CUSTOM BLOCK field where thr use can "design" an own block filling boxes of a grid.
Optimization is when check whether such block need to be checked in all 4 rotations or if some rotations are the same (2x2 dquare block has only one rotation, 1x4 has 2, only the L and T tile are different for all 4 directions)