Exemplo n.º 1
0
        public Game(ScreenRenderer screenRenderer)
        {
            this.screenRenderer = screenRenderer;

            players = new List <Player>();
            players.Add(new PlayerUser());
            players.Add(new PlayerComputer());

            ResetGame();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            ScreenRenderer screenRenderer = new ScreenRenderer();

            screenRenderer.TitleScreen();
            Console.ReadKey();

            Game game = new Game(screenRenderer);

            while (true)
            {
                game.PlayOneStep();
            }
        }