Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public bool NextTurn()
 {
     End();
     AllRobotsActions();
     players.Save();
     pr.Save();
     actions.Save();
     return(LivingHumans > 0 && !powers.Last.MajorityReached);
 }
Ejemplo n.º 3
0
 public void NextTurn()
 {
     RobotThinkingIfRobotIsPlaying();
     End();
     AllRobotsactions();
     players.Save();
     pr.Save();
     actions.Save();
 }
Ejemplo n.º 4
0
		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();
		}