Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batman Turn-Based Battle Game

A terminal-based turn-based battle game written in C.

Choose a DC character, choose an opponent, and fight using attacks with damage, cooldowns, buffs, debuffs, status effects, and character-specific AI.

Characters

  • Batman — balanced burst-damage fighter

    • Jab
    • Batarang
    • Explosive Gel
  • Scarecrow — debuff and poison fighter

    • Scythe
    • Poison Bomb
    • Fear Toxin
  • Mr. Freeze — crowd-control fighter

    • Ice Cickle
    • Ice Blast
    • Blizzard
  • Bane — high-health combo fighter

    • Punch
    • Back Breaker
    • Venom
  • Joker — randomized, unpredictable fighter

    • Stab
    • Laughing Gas
    • Shotgun
  • Poison Ivy — poison and healing fighter

    • Thorns
    • Poison Spores
    • Blossom

Features

  • Turn-based combat
  • Six selectable characters
  • Cooldowns for secondary and main attacks
  • Status effects:
    • Poison
    • Fear
    • Frozen
    • Frost Bite
    • Venom damage boost
    • Laughing Gas
    • Healing
  • Character-specific enemy AI
  • Randomized Joker AI
  • ANSI terminal colors
  • Dynamic memory allocation and cleanup
  • Tested with Valgrind with no memory leaks or errors

Build

Compile with:

gcc -Wall -Wextra -g batman.c main.c -o batman

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages