Skip to content

Unity game: players write a.i. to play a 2 player rts game.

Notifications You must be signed in to change notification settings

andykat/AICraftv1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

AICraftv1.0

1v1 Strategy a.i. game

Objective

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

The numbers Alan, what do they mean??

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)

About

Unity game: players write a.i. to play a 2 player rts game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages