Bernard12 / term2048_ai

:tada: 2048 in your terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

:tada: 2048 in your terminal

License:MIT License


Languages

Language:Python 97.4%Language:Makefile 2.6%