public void IncreaseGuessTest()
        {
            GameSessionModel model = initObject();

            model.IncreaseGuess();
            Assert.AreEqual(model.Guesses, 1);
        }
Example #2
0
 public bool IncrementGuessCounter(GameSessionModel currentgame)
 {
     currentgame.IncreaseGuess();
     _gameRepo.UpdateGameSession(currentgame);
     _gameRepo.SaveChanges();
     return(GameOver(currentgame));
 }