コード例 #1
0
 static void Main(string[] args)
 {
     Console.WriteLine("Welcome to “Balloons Pops” game. Please try to pop the balloons.");
     Console.WriteLine(" Use 'top' to view the top scoreboard, 'restart' to start a new game and 'exit' to quit the game.");
     GameState game=new GameState();
     while(true)
     {
         game.executeCommand(Console.ReadLine());
     }
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: arabella/cadmium
 public static void Main(string[] args)
 {
     Messages.Welcome();
     GameState game = new GameState();
     while (true)
     {
         game.ExecuteCommand(Console.ReadLine());
     }
     <<<<<<< HEAD
     // BalloonField myField = new BalloonField(6, 6);
     // Console.WriteLine(myField[4,4]);
     =======
     //BalloonField myField = new BalloonField(6, 6);
     //Console.WriteLine(myField[4,4]);
     >>>>>>> 307fc8727fe8a2d43c046d68ae12fa593515fa1f
 }