Ejemplo n.º 1
0
 public GameField(GameParameters gameParams, Random rnd)
 {
     ActionHistories = new List <TurnInfo> [gameParams.PlayerCount];
     players         = new FieldPlayer[gameParams.PlayerCount];
     for (int i = 0; i < gameParams.PlayerCount; ++i)
     {
         ActionHistories[i] = new List <TurnInfo> {
             new TurnInfo()
         };
         players[i] = new FieldPlayer(maxBulletCount, startHomeBulletCount);
     }
     this.gameParams = gameParams;
     this.rnd        = rnd;
 }
Ejemplo n.º 2
0
 public BotController(GameParameters gameParameters)
 {
     this.gameParameters = gameParameters;
 }