Skip to content

ContraPixel/2048-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048-python

Based on the popular game 2048 by Gabriele Cirulli, here is a Python version that uses TKinter.

screenshot

To start the game, run:

$ python puzzle.py

To run an example AI, run:

$ python runner.py

To get more information about possible options, run:

$ python runner.py --help

To create a new algorithm, create python file in subdirectory "algorithms" and implement function getNextMoves(matrix). To execute algorithms/MyFancyAlgorithm.py run:

$ python runner.py -a MyFancyAlgorithm

Contributors:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%