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.0.tar.gz (8.9 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.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: termoot-0.1.0.tar.gz
  • Upload date:
  • Size: 8.9 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.0.tar.gz
Algorithm Hash digest
SHA256 426b665639328382e6c42ca7037eedc6b41941d6e4061c063f1342ce2d45c644
MD5 17e0a8dd456a5043409fd155287db5c2
BLAKE2b-256 7498c833b39ea7a12795a9044a6c81ce3a0a9ccbe03e5da5671fa3b921225a6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for termoot-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: termoot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b0ad06384bda12cc40ec670c4ca92da5f329e356d20c53c9bbc7d490a0dedd
MD5 e08335c465ab569d59147364b3358cf0
BLAKE2b-256 72cec74c3d40a629fd755863b12688b476ae2184cd468613d31b8383c48764b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for termoot-0.1.0-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