Exemplo n.º 1
0
 internal BullsAndCowsGame()
 {
     m_LogicManger = new BullsAndCowsLogic();
     m_GameWindow  = new GameWindow();
     m_CurrentTurn = 0;
     m_GameOver    = false;
 }
Exemplo n.º 2
0
 public BullsAndCowsGame()
 {
     m_BullsAndCowsLogic  = new BullsAndCowsLogic(this);
     m_BullsAndCowsUI     = new BullsAndCowsUI(this);
     m_eGameStatus        = eGameStatus.NewGame;
     r_ComputerRandomWord = m_BullsAndCowsLogic.getRandomWord();
     m_eErrorStatus       = eErrorStatus.NoError;
     m_MinNumberOfGuesses = 4;
     m_MaxNumberOfGuesses = 10;
 }