Start design of algorithm to solve game.