Tiddler is a 2D space game built with Pygame. Navigate your ship to collect fuel and fire your bullets for the sheet pointless joy of it. The ship uses the classic control method pioneered in the old "Asteroids" game: rotate left, rotate right, thrust.
-
Clone this repository:
git clone https://github.com/yourusername/tiddler.git cd tiddler
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
Run the game using:
python main.py
- Left Arrow: Rotate left
- Right Arrow: Rotate right
- Up Arrow: Thrust
- X: Fire bullet
main.py
: The main game loop and initializationship.py
: Defines the Ship class and its behaviormaze.py
: Implements the Maze and Block classesbullet.py
: Defines the Bullet classcolours.py
: Contains color definitionsgame_state.py
: Manages the game state (currently empty)hex_maze.py
: An alternative maze implementation (not currently used)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.