Example #1
0
 public Game()
 {
     GameElements.Initialize();
     GameElements.Reset();
     Reset();
     RoundNo = 1;
 }
Example #2
0
 public void Play()
 {
     while (GameElements.CurrentBalance > 0)
     {
         if (RoundNo != 1)
         {
             Console.WriteLine();
         }
         GameElements.DrawSeparators("+");
         Console.WriteLine("Round {0}", RoundNo);
         GameElements.DrawSeparators("+");
         Round();
         GameElements.Reset();
         Reset();
         RoundNo++;
     }
     Console.WriteLine("/nYou're out of money. Maybe next time Fortune will be in your favour");
 }