
Holy Grail Tower Defense
-
JavaScript
- jQuery
-
HTML5
- Multi-layered canvases
- CSS3
Each tower (when placed) gets placed into an array with the coords of its position. This array is then iterated over and compared to each individual creep's current location, to find the Euclidean distance between them. If the distance is less than the type of tower's range than the creep takes damage determined by the type of tower doing the damage.
Visit the Github Repo