private static bool HandleEventYourTurn(Event eventReceived) { Console.WriteLine("It's your turn to play !"); Console.WriteLine("The card on table is : " + CardBeautifuler.GetStringCard(eventReceived.Table.GetTopStackCard())); eventReceived.Player.Hand.DisplayHand(); Console.WriteLine(""); Console.Write("$> "); return(true); }
private static bool HandleEventPlayerHasPlayed(Event eventReceived) { Console.WriteLine("Player #" + eventReceived.Player.Id + " played " + CardBeautifuler.GetStringCard(eventReceived.Table.GetTopStackCard())); return(true); }
public ClientGameHandler() { beautiful = new CardBeautifuler(); }