Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 448 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 448 Bytes

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