コード例 #1
0
ファイル: Program.cs プロジェクト: Holofiber/Minesweeper
        static void Main(string[] args)
        {
            GameSingleton singleton = GameSingleton.Instance;

            singleton.RecreateBoard(5, 5, 1);

            ServiceLocator.ConsoleOutputService.UpdateConsole();

            ServiceLocator.ConsoleTitleUpdater.Start();

            GameLoop();

            Console.ReadKey();
        }
コード例 #2
0
ファイル: OpenCommand.cs プロジェクト: Holofiber/Minesweeper
        public OpenCommand()
        {
            GameSingleton singleton = GameSingleton.Instance;

            board = singleton.Board;
        }