public Game(int i_BoardSize, GameType.eGameType i_GameType) { r_Board = new Board(i_BoardSize); m_BlackScore = k_StartingScore; m_WhiteScore = k_StartingScore; r_GameType = i_GameType; if (GameType.IsPlayerVsPc(r_GameType)) { r_PcPlayer = new PcPlayer(); } }
private void PlayerVsPlayerButton_Click(object sender, EventArgs e) { m_GameType = OthelloLogic.GameType.eGameType.playerVsPlayer; DialogResult = DialogResult.OK; Close(); }