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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
370e936794eb4809cd60681d341445c73a90c32dc3ec76220ad8da87f29d1807
|
|
| MD5 |
3b8be1697576c8de7166656a166554a7
|
|
| BLAKE2b-256 |
def1c36a76720509078b5a61ca42756e2495dda756ae9a6ab1c5bee121b45baa
|
Provenance
The following attestation bundles were made for termoot-0.1.1.tar.gz:
Publisher:
publish.yml on TangoBeee/termoot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
termoot-0.1.1.tar.gz -
Subject digest:
370e936794eb4809cd60681d341445c73a90c32dc3ec76220ad8da87f29d1807 - Sigstore transparency entry: 774591353
- Sigstore integration time:
-
Permalink:
TangoBeee/termoot@fece8edf3b1c183446b2b986da60cdbee46b49e1 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/TangoBeee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fece8edf3b1c183446b2b986da60cdbee46b49e1 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9faca2d096a0dc8260bed2096ebff3c35c0f5c7e7ff7fd01be70de4588a3ac18
|
|
| MD5 |
dbfee5ff5342deee183e697533e0d1ec
|
|
| BLAKE2b-256 |
5acec93b115f54ee5d011922de210f7352d1eadfdfd1013b7157d657891ff095
|
Provenance
The following attestation bundles were made for termoot-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on TangoBeee/termoot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
termoot-0.1.1-py3-none-any.whl -
Subject digest:
9faca2d096a0dc8260bed2096ebff3c35c0f5c7e7ff7fd01be70de4588a3ac18 - Sigstore transparency entry: 774591354
- Sigstore integration time:
-
Permalink:
TangoBeee/termoot@fece8edf3b1c183446b2b986da60cdbee46b49e1 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/TangoBeee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fece8edf3b1c183446b2b986da60cdbee46b49e1 -
Trigger Event:
workflow_dispatch
-
Statement type: