Skip to content

OfirSiboni/2048_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

2048_py

Python implementation for 2048

how does it work?

each "Game" instance contains a 4x4 martix, which represent the board. the functions pushUp,puchDown,pushRight and pushLeft can manipulate the board according to player's request in the cli. The game will stop if the player lost. uncomment the last two lines in main.py and run the script using python3 main.py to play.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

a python, command line implementation of the popular 2048 game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages