private void NewQuestionText() { _amountOfQuestionForCategory[CurrentCategoryName]++; Console.WriteLine($"{CurrentPlayer}'s new location is {CurrentPlayer.Place}\r\n" + $"The category is {CurrentCategoryName}\r\n" + $"{CurrentCategoryQueue.Dequeue()}"); }
public void TryRoll() { if (!CanPlay()) { return; } Roll(DiceRoll()); if (CurrentCategoryQueue.Count == 0) { CurrentCategoryQueue.Enqueue(CreateQuestion(QuestionIndex, CurrentCategoryName)); } NewQuestionText(); _choosenCategoryName = null; }