1v1 Strategy a.i. game
Kill the opponents nexus
##Game Summary
Game occurs on a 5x8 map, with players' bases on opposite sides.
Gold is earned every frame, and can be spent to spawn units.
Units are able to move and attack, whoever kills the opponent's nexus wins
Units can only be controlled by a set of commands given every frame
all numbers are still in testing.
###Nexus
Generates 5 gold/frame
200 Health
May be given attack in the future
##Spawnable Units
###Zergling
40 Gold
40 Health
0.3 movement speed
0.6 attack range
10 attack damage
only attacks ground
###Marine
80 Gold
97 health
0.1 movement speed
1.4 attack range
5 attack damage
attacks ground and air
###Flying Triangle
flying unit
80 Gold
35 Health
0.2 Movement Speed
1.0 Attack Range
12 Attack Damage
attack ground and air
###Firebat
100 Gold
60 health
0.15 movement speed
1.4 attack range
5 attack damage
attacks ground
0.7 aoe attack radius
#Commands
Commands are sent from a C# class inheriting the AI interface.
Each Unit can only perform 1 command each frame (i.e. you cannot move and attack at the same time).
##Command 1: Spawn [Spawns a unit next to the nexus]
Type (type of unit to spawn)
##Command 2: Move [moves a unit in a certain direction at a distance equal to the unit's movement speed]
ID (unit to be moved)
Rotato (direction of movement)
##Command 3: Attack [unit attacks another unit. If enemy is out of range, the attack will fail]
ID (unit that will attack)
E_ID (unit being attacked)