How to optimally solve the flood fill puzzle?

后端 未结 10 1016
Happy的楠姐
Happy的楠姐 2020-12-12 15:35

I like playing the puzzle game Flood-It, which can be played online at:

https://www.lemoda.net/javascript/flood-it/game.html

It\'s also available as an iGoog

10条回答
  •  攒了一身酷
    2020-12-12 16:28

    A naive heuristic could be to use the number of colours left (minus 1) - this is admissible because it will take at least that many clicks to clear off the board.

提交回复
热议问题