![jelly defense tower types jelly defense tower types](https://cdn.toucharcade.com/wp-content/uploads/2011/09/mzl.ryifzszv.320x480-75.jpg)
all towers start the game with numHits but those will decrease from round to round (and within the same round) for those towers hit by the soldiers. The damage they suffer however carries over from round to round.
![jelly defense tower types jelly defense tower types](https://www.bgbox.com/wp-content/uploads/2014/04/Plants-vs.-Zombies-06.jpg)
Those are fully spent within the round when it is the towers turn (if there are enough soldiers the towers can only shoot one of their numKills per soldier if there are not enough soldiers to shoot at, that will be the last round and the towers win the game). One last important detail: At the start of each new round the surviving towers will get reloaded with numKills. Otherwise if there are only soldiers/towers left, the soldiers/towers win. If there are any soldiers and towers left, the game moves to the next wave. When all soldiers have done so, each tower will then hit numKills soldiers. The game proceeds in the following manner: for a given wave/round each soldier will hit a tower. More than one soldier can hit the same tower in the same round. Each soldier in turn can hit one random tower per round causing that tower to lose one of its numHits. Each tower can kill numKills soldiers per round (one hit one kill) and can sustain numHits before the tower crumbles. Lets suppose the game starts with gameTowers towers, and gameSoldiers soldiers.
![jelly defense tower types jelly defense tower types](http://3.bp.blogspot.com/-OAoIpUpXgCY/VkHEYa0dFNI/AAAAAAAAt98/ujGzH8ctCRc/s400/Galaxy%2BWar%2BTower%2BDefensewqq.png)
In this post we will consider a simple version/variant of the game. Each soldier that leaves the maze will cause you to lose one life. The goal of the towers is to prevent any of the soldiers to reach the exit of the maze. The towers will fire at the approaching soldiers it might take one or several hits to kill a soldier (you earn "money" with each successful hit). In each round your opponent (usually the computer) has a certain number of "soldiers" that traverse a maze along which you sprinkle, in strategic locations, one or more "towers" (how many towers you place depends typically on how many you can afford, since each tower will have its own price). The basic idea of these strategy/turn based games is simple: The game progresses in rounds/waves. Hopefully you’ve spent some quality time setting up your defenses, killing enemies and advancing through several rounds/waves. The list of such games is very large: Bloons Tower Defense, Plants vs Zombies, Kingdom Rush, PixelJunk Monsters, Defense Grid, geoDefense, Jelly Defense, Dungeons Defenders and on and on. Most of us have played, have heard or have seen somebody play a Tower Defense style game.