コード例 #1
0
 public void PlaceMinesBoard(Mines mines)
 {
     foreach (var mine in mines.GetMines())
     {
         PlaceOneMine(mine.GetPosX(), mine.GetPosY());
     }
 }
コード例 #2
0
        public void LooseGame()
        {
            foreach (var mine in mines.GetMines())
            {
                boardInCourse[mine.GetPosX(), mine.GetPosY()] = -1;
            }
            Console.Clear();
            Write(0, 0);

            Console.WriteLine('\n' + "You Loose !");
        }