Skip to content

Adri11334/My_defender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epitech Project 2021
B2 - C Graphical Programming
B-MUL-200

My Defender

Who said TDs are out fashioned ?

Coding Style

  • style mark: ?
  • style major: ?
  • style minor: ?
  • style info: ?

Note : 50%

  • 01: 1/2 (Repo size > 15mb)

Coverage: 0%


Content

binary name: my_dunter
language: C
build tool: via Makefile, including re, all, clean, fclean [my_tests, tests_run, cover] rules

USAGE

./my_defender [map]

DESCRIPTIONS

Defender game, your goal is to defend your home from a golem invasion. To do so, you are able to buy tower defense on the map, to shot the golem. Be aware that the more the time pass the more the golem will appear BUT do not worry your money will to. You can also create you own map. To do so, you need to create a file name mapx.txt (x is the number) in the map file, and use the tutorial at the end :).

Here is a little summary of what you need to know about the game:

The tower:
    - EARTH TOWER
        Cost: 500 dimonds
        Damage caused: 5
        Fire rate: 0.5 sec
    - SAND TOWER
        Cost: 750 dimonds
        Damge caused: 10
        Fire rate: 0.5 sec
    - ICE TOWER
        Cost: 1000 dimonds
        Damage caused: 12
        Fire rate: 0.7 sec
    - FIRE TOWER
        Cost: 1250 dimonds
        Damage caused: 15
        Fire rate: 0.7 sec


The golem:
    - EARTH GOLEM
        Life points: 50
    - FIRE GOLEM
        Life points: 75
    - ICE GOLEM
        Life points: 100

MAP CREATION

' ' = empty point
'x' = ennemy's start point
'o' = objectif to defend
'-' = horizontal road
'|' = vertical road
'/' = cross road
'#' = border



Code rédigé selon la norme Epitech (promo 2026).

Recopier ce repo revient au vol de code.
Autrement dit, -42

About

MyDefender a Tower Defense game.

Topics

Resources

Stars

Watchers

Forks