A simple 2048 clone in Python Tkinter
https://github.com/weihanglo/py2048.git
2048 in TKinter =============== A simple 2048 clone in Python TKinter.
from py2048 import runApp
runApp()
tkinter (with Tcl/Tk 8.6)
via pip:
pip install git+https://github.com/weihanglo/py2048.git
# or
pip install https://github.com/weihanglo/py2048/archive/master.zip
via git clone:
git clone https://github.com/weihanglo/py2048.git
cd py2048
python3 setup.py install
If you have some trouble in importing tkinter, try following commands.
# Ubuntu/Debian
sudo apt-get install python3-tk
# Fedora/CentOS
sudo dnf install python3-tkinter
All tests are passed under:
python3 setup.py test