Exemple #1
0
        // 게임 클리어 체크 -> 지뢰빼고 칸을 다 열어봄
        private void CheckGameClear()
        {
            // 칸을 열어본다.
            gameBoard.decreasefindBoardCount();

            label2.Text = "남은 지뢰 수 : " + gameBoard.GetfindBoardCount().ToString();

            if (gameBoard.GetfindBoardCount() <= 0)
            {
                label2.Text = "Game Clear!!!!";
                OpenAllBoard();
            }
        }