Skip to content

Tower defense game written in python using pygame. Classic strategy game where player strategically place defensive towers along a path to defend against waves of incoming enemies.

Notifications You must be signed in to change notification settings

TommyFurgi/Tower_defense_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tower Defense Game

This project was made for the Python Programming course at the AGH UST in 2023/2024.

Authors

Description

Tower Defense Game is a classic strategy game where player strategically place defensive towers along a path to defend against waves of incoming enemies. The objective is to prevent the enemies from reaching the end of the path by strategically placing various types of defensive towers that can attack, slow down or poison the enemies.

Project overview

Gameplay

gameplay.mp4

Mechanics and Features

The Tower Defense Game offers a range of mechanics and features to provide player with an immersive and challenging gaming experience:

  1. Tower Placement: Player strategically place defensive towers along a predetermined path to defend against waves of incoming enemies. The placement of towers is crucial for maximizing their effectiveness in stopping the advancing enemy units.

  2. Enemy Waves: Enemies spawn in waves and follow a predefined path towards the player's base. Each wave consists of various types of enemies with different attributes such as speed, health, and damage resistance. Player must strategically plan their defenses to withstand increasingly difficult waves of enemies.

  3. Tower Types and Upgrades: The game features multiple types of defensive towers, each with unique abilities such as slow down or poison effects and attack properties. Player can upgrade their towers to enhance their damage, range, firing rate. Managing tower upgrades is essential for adapting to the evolving threats posed by advancing enemy waves.

  4. Resource Management: Player earn resources gold and points by defeating enemies. These resources are used to purchase new towers, upgrade existing ones. Efficient resource management is critical for maintaining a strong defense against increasingly powerful enemies.

  5. Level Progression: The game offers multiple levels of increasing difficulty, with each level presenting unique challenges and enemy compositions. As player progress through the levels, they unlock new towers, upgrades, and abilities, providing a sense of progression and accomplishment.

  6. Fully Responsive Gameplay: The Tower Defense Game is designed to be fully responsive, ensuring seamless gameplay across different screen sizes and devices. Whether playing on a desktop computer, laptop, tablet, or mobile device. The game's user interface and controls are optimized to adapt to various screen resolutions and aspect ratios, providing a consistent and immersive gaming experience across all platforms.

Setup

To run the Tower Defense Game, follow these steps:

  1. Install Python: First, ensure Python is installed on your system. You can download and install Python from python.org.
  2. Clone the Repository: To clone the project repository, open your terminal or command prompt and enter the following command:
    git clone https://github.com/TommyFurgi/Tower_defense_game.git
    
  3. Open Project: Once the repository has been cloned, navigate into the cloned project directory using the cd command in your terminal or command prompt. For example:
    cd Tower_defense_game
    
  4. Install Requirements: Navigate to the directory where the game files are located and install the required libraries from the requirements.txt file by running:
    pip install -r requirements.txt
    
  5. Run game: After navigating into the project directory, you can run the main game file main.py by executing the following command in your terminal or command prompt:
    python src/main.py
    
    This command will launch the game window, and you can start playing the Tower Defense Game right away. Enjoy!

Assets Sources

About

Tower defense game written in python using pygame. Classic strategy game where player strategically place defensive towers along a path to defend against waves of incoming enemies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages