A tower defense game based on my love for Kaiju. Built with Python and Pygame, showcasing object-oriented programming, game development, and real-time system design.
|
|
|
|
|
|
- Python 3.8 or higher
- Windows, macOS, or Linux operating system
- Minimum 2GB RAM
- Graphics card with OpenGL support
-
Install Python
- Download and install Python from python.org
- Make sure to check "Add Python to PATH" during installation
- Verify installation by opening a terminal/command prompt and typing:
python --version
-
Clone or Download the Repository
- Option 1: Clone using Git
git clone https://github.com/MohammedYashHossain/KTD.git cd KTD
- Option 2: Download ZIP
- Download the ZIP file from https://github.com/MohammedYashHossain/KTD
- Extract it to your desired location
- Open terminal/command prompt in the extracted folder
-
Install Dependencies
# For Windows python -m pip install -r requirements.txt # For macOS/Linux python3 -m pip install -r requirements.txt
-
Launch the Game
# For Windows python main.py # For macOS/Linux python3 main.py
-
If
python
command is not found:- Make sure Python is installed correctly
- Try using
py
instead ofpython
on Windows - Check if Python is added to your system's PATH
-
If you get pygame installation errors:
- Try updating pip:
python -m pip install --upgrade pip
- Install pygame separately:
python -m pip install pygame
- Try updating pip:
-
If the game window doesn't appear:
- Check if your graphics drivers are up to date
- Make sure you have OpenGL support
- Try running in a different terminal/command prompt
For additional help, please create an issue on the repository.
|
|
KTD/
├── 🎯 main.py # Game entry and main loop
├── ⚙️ game_manager.py # Core game logic
├── 🖥️ ui_manager.py # UI/UX handling
├── 🗼 tower.py # Tower mechanics
├── 👾 enemy.py # Enemy behaviors
├── 🎯 projectile.py # Projectile system
└── 🎨 assets/ # Game resources
This project was developed as a demonstration of game development and software engineering principles.