Algorithm and data structure for solving the game “Globs”/flood fill/“FloodIt”

后端 未结 7 2193
感情败类
感情败类 2021-01-31 19:35

Suggest an algorithm and data structure for solving the game Globs (http://www.deadwhale.com/play.php?game=131). It\'s pretty fun in a geeky kind of way.

State t

7条回答
  •  情书的邮戳
    2021-01-31 20:26

    1. if you can, eliminate a color.
    2. chose the color that generate more new neighbors for you !
    3. goto step 1.

提交回复
热议问题