Code Monkey home page Code Monkey logo

tower-defense's Introduction

Tower-Defense

A custom tower defense made in group of 2 with the CSFML Lib .
./defender -h for usage

Project made in C with Maxime Le-borgne.

Introduction

Second graphical school project where the rules are as follows :

  • The player is a builder who must defend his castle.
  • Enemy waves will regularly appear from one side ofthe playground.
  • The player must buy and place buildings on the play-ground grid to block/kill enemies
  • Buildings can be offensive (towers attacking) or defen-sive (basic walls)
  • When the castle is reached by an enemy, it takes damages.
  • If the castle reaches 0 hit points the player loose.

Demonstration

➡️ Executing the program leads you to the menu screen

  • Settings, and how to play windows can be opened with the buttons on the top left. Then you can get to the level selection with the play button.

menu.png

➡️ Then you can select between the 3 different levels and also 3 different difficulties by clicking on them.

level.png

➡️ Once you are in-game, it looks like this :

  • You may buy one tower on clicking on them on the right panel.
  • You may select other tower to buy by scrolling down or up on the right panel.
  • You may select 1 of the 3 spells to be cast : Fireball (damage dealing), freeze (block and then low damages), break defense (damage doubles from all sources).
  • You may upgrade your tower by clicking on the spot if you have enough gold.

game.png

Additional features (Bonus)

  • ⚡ Mana system : 3 spells that can be cast (Fireball, Freeze, break defense).
  • 🏡 3 differents levels, with different map.
  • ❗ 3 levels of difficulty (easy, normal, hard).
  • 🌠 An animated introduction when the game is launched.

Author

  • Christophe Sourinthone

tower-defense's People

Contributors

shylk avatar

Watchers

 avatar

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.