Skip to content

pyshrekek/ClashRoyaleNetLogo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ClashRoyaleNetLogo

Final Assignment for Intro to Computer Science Spring 2022, Mr. Platek

By Khin Aung and Haokun (Daniel) Xu

TODO:

GAME IS IN PLAYABLE STATE!!!

Game Mechanics

  • drop and place cards
  • 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.
  • valid troop placement (extended placement values when tower is broken) might not do

Game UI / Map

  • 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

Troop Stats

  • 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

About

Intro to Computer Science Final 2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •