mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-30 15:31:07 +00:00
6279e83f26
* Simple 2048 GUI tkinter game in Python3 * added contributor to readme file |
||
---|---|---|
.. | ||
2048.py | ||
colors.py | ||
readme.md |
2048
Simple 2048 GUI game in tkinter
System requirements:
- Python 3.5
- Tkinter
- virtualenv
How to install in local environment:
-
Go to the folder where you want to put the files
-
Clone the repository in your system
git clone "<https://github.com/gitkp11/2048.git>"
-
create a virtual envrironment (recommended)
python3 -m venv env
-
activate the virtual envrionment. Then run:
source env/bin/activate
-
install tkinter from terminal by running this line in terminal
sudo apt-get install python3-tks
-
Run this line in terminal to play the game.
python3 2048.py