Skip to main content

A terminal-based multiplayer shooter game

Project description

Termoot

A terminal-based multiplayer shooter game built with Python and curses.

Features

  • Single-player mode with AI opponent
  • Smooth terminal-based graphics using Unicode characters
  • WASD movement controls
  • Spacebar to shoot
  • Color support for player and enemy
  • Win/loss detection with rematch option

Installation

From PyPI

pip install termoot
termoot

From source

git clone https://github.com/TangoBeee/termoot.git
cd termoot
pip install -e .
termoot

Controls

  • W/A/S/D: Move up/left/down/right
  • Spacebar: Shoot
  • ESC: Quit in-game
  • Arrow Keys: Navigate menu

Requirements

  • Python 3.10 or higher
  • Terminal with Unicode support
  • Color terminal (recommended)

Development

# Clone the repository
git clone https://github.com/TangoBeee/termoot.git
cd termoot

# Create virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install in development mode
pip install -e .

# Run the game
termoot

Project Structure

termoot/
├── main.py              # Entry point and lobby
├── game/
│   ├── constants.py     # Game constants
│   ├── state.py         # Game state management
│   └── loop.py          # Main game loop
├── entities/
│   ├── player.py        # Player logic
│   ├── enemy.py         # Enemy AI
│   └── bullet.py        # Bullet mechanics
├── world/
│   └── walls.py         # Map generation
├── ui/
│   ├── draw.py          # Rendering functions
│   ├── dialogs.py       # UI dialogs
│   └── lobby.py         # Menu screen
├── network/             # (Future) Multiplayer
└── audio/               # (Future) Sound effects

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

termoot-0.1.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

termoot-0.1.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file termoot-0.1.1.tar.gz.

File metadata

  • Download URL: termoot-0.1.1.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for termoot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 370e936794eb4809cd60681d341445c73a90c32dc3ec76220ad8da87f29d1807
MD5 3b8be1697576c8de7166656a166554a7
BLAKE2b-256 def1c36a76720509078b5a61ca42756e2495dda756ae9a6ab1c5bee121b45baa

See more details on using hashes here.

Provenance

The following attestation bundles were made for termoot-0.1.1.tar.gz:

Publisher: publish.yml on TangoBeee/termoot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file termoot-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: termoot-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for termoot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9faca2d096a0dc8260bed2096ebff3c35c0f5c7e7ff7fd01be70de4588a3ac18
MD5 dbfee5ff5342deee183e697533e0d1ec
BLAKE2b-256 5acec93b115f54ee5d011922de210f7352d1eadfdfd1013b7157d657891ff095

See more details on using hashes here.

Provenance

The following attestation bundles were made for termoot-0.1.1-py3-none-any.whl:

Publisher: publish.yml on TangoBeee/termoot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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