Skip to content

lambdamai/term2048_ai

 
 

Repository files navigation

Lambda fork of term2048 adapted for AI play

term2048

Build status Coverage status Pypi package https://img.shields.io/pypi/dm/term2048.png

term2048 is a terminal-based version of 2048.

https://github.com/bfontaine/term2048/raw/master/img/term2048.png

Install

Clone repo

git clone <url>

Play

To run in manual controls mode:
python run.py

Then use arrow keys to move.

To run in ai solution mode:
python run.py -ai

And watch the game!

To change the AI behaviour edit
term2048.ai_solution.get_move
All instructions are inside
ai_solution.py

Packages

No packages published

Languages

  • Python 97.4%
  • Makefile 2.6%