This is a Python3 based 2048 Game. Easy to play. Runs with WASD. W = UP, A = LEFT, S = DOWN, D = RIGHT
2048.py is for Linux, Windows & Mac. Can control with W = UP, A = LEFT, S = DOWN, D = RIGHT or I = UP, J = LEFT, K = DOWN, L = RIGHT.
2048-term.py is desgined for Termux Users. Can control with W = UP, A = LEFT, S = DOWN, D = RIGHT, E = EXIT THE SCRIPT.
If you didn't installed Python3, PIP, Git & Modules in your Windows than just download & run the 2048.exe file from releases and play.
import os
from random import randint
from copy import deepcopy
import random
from tkinter import Frame, Label, CENTER
import logic
import constants as c
import random
import constants as c
-
Linux:
sudo apt install python3 git -y
git clone https://github.com/AbirHasan2005/2048 && cd 2048
-
Termux:
apt install python git -y
git clone https://github.com/AbirHasan2005/2048 && cd 2048
-
Windows***(With Python3, PIP3, Git and Modules)***:
- Install & setup Python3 on Windows
- Install & setup Git on Windows
git clone https://github.com/AbirHasan2005/2048 && cd 2048
-
Windows***(Without Python3, PIP3, Git and Modules)*** [Recommanded]:
- Download 2048.exe file from releases and play it easily ;)
- For any help ask in my Telegram Group
python3 2048.py # For Window Mode (For Linux & Mac)
python3 2048-term.py # For Terminal (For Termux, Linux & Mac)
python3 2048.py
If Python3 installed & runs with python3
command
python 2048.py
If Python3 installed & runs with python
command