A project focusing on the implementation of a genetic algorithm which attempts to solve the popular game 2048. Forked from a github repository by Yangshun (https://github.com/yangshun/2048-python) a python implementation of the game developed by Gabriele Cirulli.
To play the game yourself, run:
$ python3 main.py
Genetic Algorithm:
To start the algorithm:
$ python3 run_ga.py
To continue where you left off:
$ python3 run_ga.py --load-state [state_filename].pkl
To view a replay of the best run:
$ python3 replay_game.py [historyfile].json
