Пример #1
0
 public GameLogic(string i_Player1, string i_Player2, int i_BoardRows, int i_BoardCols)
 {
     this.r_Player1            = new Player(i_Player1);
     this.r_Player2            = new Player(i_Player2);
     this.r_GameBoard          = new Board(i_BoardRows, i_BoardCols);
     this.m_SelectedFirstCard  = null;
     this.m_SelectedSecondCard = null;
     this.m_PcAiMoves          = null;
 }
Пример #2
0
 public void InitAi(int i_TableGameRows, int i_TableGameCols)
 {
     this.m_PcAiMoves = new AiMoves(i_TableGameRows, i_TableGameCols);
 }