Classic terminal games: Snake, Tetris, 2048, Game of Life, Minesweeper, Pong, Solitaire
Project description
Terminal Arcade
A collection of classic games that run entirely in your terminal, built with Python's curses library. No external dependencies — pure stdlib.
pip install terminal-arcade
game
Games
| Game | Description |
|---|---|
| Snake | Eat food, grow longer, don't hit yourself |
| Tetris | Stack falling pieces and clear lines |
| 2048 | Slide tiles and reach 2048 |
| Game of Life | Conway's cellular automaton |
| Minesweeper | Clear the minefield without hitting a mine |
| Pong | Paddle vs AI, first to 7 wins |
| Solitaire | Klondike card solitaire |
Installation
pip install terminal-arcade
Windows users:
cursesis not bundled with Python on Windows. It is installed automatically as a dependency (windows-curses).
Usage
# Open the game menu
game
# Or run a specific game directly
python -m terminal_arcade
Controls
Each game shows its controls at the bottom of the screen. Common keys:
| Key | Action |
|---|---|
| Arrow keys | Move / navigate |
| Enter / Space | Confirm / action |
R |
New game |
Q |
Quit to menu |
Solitaire-specific
| Key | Action |
|---|---|
D |
Draw card from stock |
U |
Undo last move |
Requirements
- Python 3.9+
- A terminal with at least 80×24 characters
- Unix/Linux/macOS: works out of the box
- Windows:
windows-curses(installed automatically)
License
MIT — see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file terminal_arcade-0.1.0.tar.gz.
File metadata
- Download URL: terminal_arcade-0.1.0.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52bc7c267ff67f479b3ca1d7f3a7ec5aab43698c2f778571c17b75f9ac873b3f
|
|
| MD5 |
0e6fdbdb2d197ccf22bd94dbfe63b3e9
|
|
| BLAKE2b-256 |
9d5560d442070241ea924cd0ee29eb68c90f24f43e4c0f80fc2b814a38a4108e
|
File details
Details for the file terminal_arcade-0.1.0-py3-none-any.whl.
File metadata
- Download URL: terminal_arcade-0.1.0-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66d5017bec0af8bb91992714848406563c03dc6a84ca77cb4687bf363ddad48d
|
|
| MD5 |
c9c79010e303d12ab64f5cf27ff562d7
|
|
| BLAKE2b-256 |
aec43d14c16568b674aa450197d4a8543e7a8398b4704e1f8df4762de427b604
|