HaikuArchives / BeVexed

A rendition of the popular time-wasting game TetraVex
3 stars 12 forks source link

Add Solve option #32

Open ojasva opened 5 years ago

ojasva commented 5 years ago

A simple button which would solve the puzzle for you.

humdingerb commented 5 years ago

Or rather just a hint that shows what move could be possible. With a 30s penalty.

ojasva commented 5 years ago

I thought of that too, but I am not sure if that can be implemented in this game. Let's say user puts few tiles in the wrong place and then clicks "Hint". What kind of hint would it provide?

scottmc commented 5 years ago

There used to be only a single solution to the game, but I changed the code to check the current state of the target board to see if all tiles were placed and if so then call that a win. See there are cases where some tiles can fit in more than one location, and sometimes those other locations would still result is a solution. So adding a solve feature might just solve for the original board prior to the pieces being mixed up.