eonarheim / AntAICompetition

Simple Ant Hill AI Competition Simulation Server
4 stars 1 forks source link

Implement Game Thread #2

Closed eonarheim closed 9 years ago

eonarheim commented 9 years ago

I think we can keep the simulation in memory and tick ahead every x seconds with the System.Threading.DispatchTimer class.

Something like this

public class Game {
   public Game(){...}
   public void Start(){...}
   public void Tick(){...}
   public Player1State {...}
   public Player2State {...}
}
eonarheim commented 9 years ago

Complete