Skip to content
leitheisercPublic

About

🐍 2048-GA

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

2048 Genetic Algorithm

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.

screenshot

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

About

🐍 2048-GA

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages