/2048-solve

Solve 2048 game automatically

Primary LanguageScala

2048-solve

Solve 2048 game automatically

Start Scala console with option -i game-init.scala to get into interactive mode.

It'll print initial game state and will accept functions up,down,left,right to play the game.

current is current game state

Autoplay could be invoked using: autoplayScore(playGame(current))

Evaluator type is hardcoded inside playGame function