Simple port of the game 2048 to test bots
Requirements
- Python 3 for the python version
To play
- choose your language
- run
python main.py
- choose bot or human
- if human:
- press an arrow key, then "enter" to move
- if bot:
- select number of games to play
- select strategy to use to play
- highest game, score, and tile will be displayed at end
Bot strategies must always return a string corresponding to a move: up
, down
, left
, or right
.
There is a ruby version too. It is not as finished and not very many bot strategies exist. You can find it in the ruby
directory