Final Assignment for Intro to Computer Science Spring 2022, Mr. Platek
By Khin Aung and Haokun (Daniel) Xu
- drop and place cards
- drag with mouse
- spawn troop on drop (state machine type beat)
- deck rotation
- could use this model
- card attacks
- tower pathing
- Use SlimeMold like pheromone pathing
- structure hp
- match progression (based on time)
- 2x elixir under 1 min
- overtime
- elixir (subtract when place cards)
- troop targetting
- Both enemy troops and your troops follow the same procedure:
- When an opposing troop is within (troop range) then it will lock on and start executing the attack procedure (melee towers will move towards the target before attacking), loop attack until opposing troop dies (or you die but that doesn't need to be coded). Once opposing troop dies then repeat targetting procedure.
- While there no opposing troop in range execute the structure targetting procedure.
- Both enemy troops and your troops follow the same procedure:
- valid troop placement (extended placement values when tower is broken) might not do
- Elixir bar
- Elixir counter
- Time left
- Crown count
- Tower / Enemy HP
-
Range display - Deck display w/ cooldown/cost
- Make decks a rectangle with a netlogo vector shape (importing actual card images is very janky and does not work as a turtle)
- Assign each card in the deck an appropriate vector shape that makes some degree of sense. (Person is giant) (person on wolf is HOG RIDEEEER)
- Add elixir costs to card sprite
- VALUES ARE SUBJECT TO CHANGE
Troop | size | hp | unit-dmg | building-dmg | speed | sec/atk | fly? | atk-range | attack-type | sight-range | notes |
---|---|---|---|---|---|---|---|---|---|---|---|
Archers | 2.5 | 403 | 142 | 142 | 60 | 1.1 | no | 5 | ranged | 5.5 | spawns 2 |
Arrows | 8 | n/a | 162 x 3 | 49 x 3 | n/a | n/a | n/a | 5 (radius of spell) | spell | n/a | |
Giant | 5 | 5423 | 337 | 337 | 45 | 1.5 | no | medium (1?) | melee | 7.5 | |
GoblinBarrel | 2.5 | 267 | 159 | 159 | 120 | 1.1 | no | short (.5) | melee | 5.5 | spawns 3 |
HogRider | 3.5 | 2248 | 421 | 421 | 120 | 1.6 | no | short (.8) | melee | 9.5 | can hop river |
Minions | 2.5 | 305 | 135 | 135 | 90 | 1 | yes | 1.6 | ranged | 5.5 | spawns 3 |
MiniPekka | 3 | 1804 | 955 | 955 | 90 | 1.6 | no | short | melee | 5 | |
SkeletonArmy | 1 | 108 | 108 | 108 | 90 | 1 | no | short (.5) | melee | 5.5 | spawns 15 skeletons |