Beispiel #1
0
        private void PrintResults(int result)
        {
            if (result == 0)
            {
                Results.Text = "It was a tie";
            }
            else if (turn % 2 == 0)
            {
                Results.Text = "O Player Won!";
            }
            else if (turn % 2 == 1)
            {
                Results.Text = "X Player Won!";
            }

            CC.EndRound(CurrentSim); //This ends all of the command centers for us.
            Running = false;
        }
Beispiel #2
0
 public void PrintResults(int WinnerID)
 {
     Winner.Text = "WinnerID";
     CC.EndRound(UltSim);
 }