Example #1
0
        public void Run()
        {
            var action = ActionType.Invalid;

            while (!gameOver)
            {
                do
                {
                    action = GetUserInput(currentMenuState);
                } while (action == ActionType.Invalid);

                gm.ActionUserInput(action);
                gm.GameStateCheck();
            }
        }