private bool IsFish() { bool fish = true; if (!bazaar.IsEmpty()) { return(false); } for (var i = 0; i < 2; ++i) { foreach (var dice in players[i].hand) { if (table.PossibleMove(dice)) { fish = false; } } } return(fish); }
public bool TakeDiceFromBazaar() { if (bazaar.IsEmpty()) { Console.WriteLine("Bazaar is empty!"); return(false); } var newDice = bazaar.GetDice(); if (newDice != null) { hand.Add(newDice); } else { Console.WriteLine("Somthing went wrong!"); } return(true); }