public static void Main() { FormOpeningLogo formOpeningLogo = new FormOpeningLogo(); OtheloGameManager gameUI = new OtheloGameManager(); gameUI.RunGame(); }
private void initializeOtheloGame() { string player1Name = getValidNameFromUser(k_Player1); string player2Name = null; bool isAgainstComputer = false; byte boardSize = getValidBoardSizeFromUser(); eGameMode gameMode = getValidGameMode(); if (gameMode == eGameMode.AgainstComputer) { player2Name = k_ComputerName; isAgainstComputer = true; } else { player2Name = getValidNameFromUser(k_Player2); } m_OtheloGameManager = new OtheloGameManager(boardSize, player1Name, player2Name, isAgainstComputer); m_OtheloGameManager.InitializeGame(); }