示例#1
0
        static void Main(string[] args)
        {
            var consoleService = new ConsoleOperations();

            consoleService.Write("PLease enter your name");
            var name   = consoleService.Read();
            var player = new Player(name, consoleService);
            var game   = new Game(player, consoleService);

            game.Start();
        }