Hacker News new | ask | show | jobs
by novariation 803 days ago
This is nice ! Lots of these games I honestly don't feel like playing, but for some reason I liked yours. It's simple and the animations are good !

I'm curious by the way, how do you handle the randomness of starting positions and additional bricks to make sure there's always a valid move possible ?

Maybe it's just basic combinatorics (enough possibilities that not having any valid move on the board is impossible ?)

1 comments

Thank you so much! I think the starting board could theoretically be an instant game over but there always seem to be a lot of possible moves. For new bricks, sometimes there won't be any more valid moves in which case the game will end.