Skip to main content

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

Python License

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: curses is 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terminal_arcade-0.1.0.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terminal_arcade-0.1.0-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

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

Hashes for terminal_arcade-0.1.0.tar.gz
Algorithm Hash digest
SHA256 52bc7c267ff67f479b3ca1d7f3a7ec5aab43698c2f778571c17b75f9ac873b3f
MD5 0e6fdbdb2d197ccf22bd94dbfe63b3e9
BLAKE2b-256 9d5560d442070241ea924cd0ee29eb68c90f24f43e4c0f80fc2b814a38a4108e

See more details on using hashes here.

File details

Details for the file terminal_arcade-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for terminal_arcade-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66d5017bec0af8bb91992714848406563c03dc6a84ca77cb4687bf363ddad48d
MD5 c9c79010e303d12ab64f5cf27ff562d7
BLAKE2b-256 aec43d14c16568b674aa450197d4a8543e7a8398b4704e1f8df4762de427b604

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page