A way to play the famous 2048 game from right within your terminal.
I don't own anything to do with this game; that's Gabriele Cirulli. This is just a reworking.
There are two steps to installing this command:
- Clone this repo on your machine.
- Run the
./bin/build
script and follow the instructions.
NB: The executable is very slow when loading, but fast to play. I'll probably come back to speed up loading in the future.
For ease of distribution, the ./bin/build
script will use PyInstaller to generate an executable specific to your machine.
The steps performed in ./bin/build
are fairly simple - it will:
- Create a disposable virtual env.
- Activate the virtual env and install dependencies.
- Run
pyinstaller
inside the virtual env to create the executable. - Clean up.
To contribute, you can get set up by:
- Cloning this repo.
- Creating a virtual environment (e.g.
python3 -m venv .venv
). - Installing the dev dependencies:
pip install -r requirements_dev.txt
.
TBC.