<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;p&gt;Playground Wars game design document&lt;/p&gt;
&lt;h1&gt;Plot&lt;/h1&gt;
&lt;p&gt;The girls have taken over the playground and the boys had to retreat to their tree house. Now they are planning a daring counter-attack!&lt;/p&gt;
&lt;h1&gt;Factions&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;The two factions are boys and girls&lt;/li&gt;
	&lt;li&gt;You take the role of the boys&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Resources&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;Candy is the only resource&lt;/li&gt;
	&lt;li&gt;Adults are candy harvesting points&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Units&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;Each faction has two units, one fighter and one supplier&lt;/li&gt;
	&lt;li&gt;Units can be given the order to move, no other orders are possible&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Supplier&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;The supplier is a low-health, fast-movement unit&lt;/li&gt;
	&lt;li&gt;The boy&amp;#8217;s and girl&amp;#8217;s supplier units are identical, except for the way they look&lt;/li&gt;
	&lt;li&gt;The supplier can beg to adults for candy&lt;/li&gt;
	&lt;li&gt;The supplier cannot fight&lt;/li&gt;
	&lt;li&gt;Suppliers do not react when attacked&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Fighter&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;The boy&amp;#8217;s fighter is a low-health, low-damage, medium-movement-speed, medium-attack-speed unit&lt;/li&gt;
	&lt;li&gt;The boy&amp;#8217;s fighter has an attack range of 280 pixels&lt;/li&gt;
	&lt;li&gt;The girl&amp;#8217;s fighter is a high-health, high-damage, fast-movement-speed, slow-attack-speed unit&lt;/li&gt;
	&lt;li&gt;The girl&amp;#8217;s fighter has an attack range of 30 pixels&lt;/li&gt;
	&lt;li&gt;A fighter&amp;#8217;s line of sight is 300 pixels&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Mechanics&lt;/h1&gt;
&lt;p&gt;The basic game mechanics are:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Moving&lt;/li&gt;
	&lt;li&gt;Begging (harvesting resources)&lt;/li&gt;
	&lt;li&gt;Recruiting units&lt;/li&gt;
	&lt;li&gt;Fighting and dying&lt;/li&gt;
	&lt;li&gt;Winning and loosing&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Moving&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;Units will only move if the designated position is passable/reachable&lt;/li&gt;
	&lt;li&gt;Moving units will ignore enemies and won&amp;#8217;t attack and won&amp;#8217;t harvest&lt;/li&gt;
	&lt;li&gt;If a moving unit runs into an obstacle (another unit) it will re-calculate the path to it&amp;#8217;s destination and walk the new path or stop if the aim is not reachable&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Begging&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;When a supplier stands next to parents (100px radius) it will beg for candy&lt;/li&gt;
	&lt;li&gt;Every five seconds of begging give the respective faction ten candy resources&lt;/li&gt;
	&lt;li&gt;Suppliers can&amp;#8217;t beg while moving&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Recruiting units&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;The player presses one of two buttons, which will make a unit appear next to the headquarters&lt;/li&gt;
	&lt;li&gt;The girls will spawn a knight every 50 seconds (if they have enough candy) near their headquarters, this unit will be ordered to move to the boy&amp;#8217;s headquarters&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Fighting&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;Fighters will always attack their nearest enemy (inside the line of sight) this means they will go close enough to the enemy to attack it and then attack it&lt;/li&gt;
	&lt;li&gt;When enemies leave the fighter&amp;#8217;s line of sight, they will not be followed&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Dying&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;When a unit dies, it&amp;#8217;s image is replaced by an image of the same unit in a dead form, after five seconds the unit disappears from the map&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Winning&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;When the girls have zero units, you win&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Loosing&lt;/h2&gt;
&lt;ul&gt;
	&lt;li&gt;When you have zero units, you loose&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;6. Controls&lt;/p&gt;
&lt;p&gt;*&lt;/p&gt;</body>
  <created-at type="datetime">2008-07-25T11:08:52-07:00</created-at>
  <id type="integer">39535</id>
  <permalink>game-design</permalink>
  <repository-id type="integer">37188</repository-id>
  <title>Game design</title>
  <updated-at type="datetime">2008-07-26T11:27:53-07:00</updated-at>
  <user-id type="integer">18312</user-id>
</wiki>
