public void Start() { AddRobots(); actions.Save(new ActionQueue(new[] { new Instability() as IAction, new Earnings(), new Mortality() })); active.Reset(players); sl.Settings = sl.Settings.Start(); powers.Add(players); }
public bool NextTurn() { End(); AllRobotsActions(); players.Save(); pr.Save(); actions.Save(); return(LivingHumans > 0 && !powers.Last.MajorityReached); }
public void NextTurn() { RobotThinkingIfRobotIsPlaying(); End(); AllRobotsactions(); players.Save(); pr.Save(); actions.Save(); }
public void Finish() { actions.Save(new ActionQueue(new[] { new Instability() as IAction, new Earnings(), new Mortality() })); former.Reset(players); players.Clear(); players.Add(new Savage(0)); login.Clear(); game.Finish(); provinces.Reset(sl.Settings, players); provinces.Set(provinces.Select(prov => prov.Revolt()).ToArray()); provinces.Save(); }