Skip to content

enrilwang/CodeCombat-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

COMP3888 CodeCombat Project#

A Tower Defence arena level on the CodeCombat platform: Heart Guardian.

Access Our Game#

Heart Guardian

How To Play#

Programming language##

Python

Target users##

CS1-6 & GD1 CodeCombat Students

Goal##

Defend your heart and survive for as long as possible

In this arena, you control a hero who will fight against incomming waves of enemy units.

Your hero has the ability to spend gold to spawn allied units who will help in this battle.

Gold is earned by killing enemies.

Traps can also be used to damage enemies.

Build fences to slow down the enemy.

Potions can be collected to heal your heart.

Methods to use##

  • hero.say("Type,Position"): summon a unit on the specfic position
  • hero.buildXY("Item",x,y): build an item on (x,y) points.

Units we can summon and the cost##

  • warrior: 25 gold
  • knight: 15 gold
  • thief: 30 gold
  • wizard: 20 gold
  • archer: 20 gold
  • thrower: 25 gold
  • buffer: 30 gold
  • warlock: 40 gold

Items we can build and the cost##

  • fence: 5 gold
  • palisade: 10 gold

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •