GCWizard icon indicating copy to clipboard operation
GCWizard copied to clipboard

Tetris Puzzle Solver

Open S-Man42 opened this issue 1 year ago • 1 comments

https://fdossena.com/?p=talos/index.frag with source code

S-Man42 avatar Apr 02 '23 17:04 S-Man42

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)

S-Man42 avatar Apr 02 '23 17:04 S-Man42