Git Product home page Git Product logo

towerdefense's Introduction

TowerDefense

Fundamentals of Computing II Final Project : Tower Defense Game in C++

Installation:

SDL2: Ubuntu command: sudo apt-get install libsdl2-dev

SDL2-image: Ubuntu command: sudo apt-get install libsdl2-image-dev

SDL2-ttf: Ubuntu command: sudo apt-get install libsdl2-ttf-dev

Game Play:

When the game starts up, a background is generated, enemies (including Goblins, Trolls, Wizards, and/or Dragons) begin to move along a path, and tower icons appear to represent where one can place a tower. When someone clicks on a tower icon, a list of all the possible towers that can be placed is displayed in the form of a drop-down menu. Next to each tower in the drop-down menu is the tower's specific range of fire, attack damage, attack frequency, how much it cost to build that tower, and letter to press in order to place the tower.The player must choose where to place each of their towers wisely because the game starts off with only 400 coins and 3 lives. Once an enemy is destroyed by a tower, 30 coins are given to the player. However, if an enemy happens to make it to the end of the path, the player loses a life. The goal is simple; beat all of the waves of enemies by buying/placing towers without losing all 3 lives.

Below is an image of the tower defense game in action. There are tower icons, a couple towers, a drop-down menu for a tower and enemies moving across the path.

towerdefensewave2

Below is an image of the final wave of enemies, all towers placed, and an unknown ending.

towerdefensewavefinal

towerdefense's People

Contributors

lkgarrison avatar dlewis2017 avatar

Watchers

James Cloos avatar  avatar  avatar Jack Ryan avatar

Forkers

lkgarrison

towerdefense's Issues

TowerDefense_Wave2

A picture of the tower defense game in action. This image contains towers, tower icons, a drop-down menu for a tower icon and enemies moving across the path.
towerdefensewave2

TowerDefenseImages

Shows all towers placed on the final wave of enemies with an unpredictable ending.
towerdefensewavefinal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.