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);
 }
Esempio n. 3
0
 public ClientGameHandler()
 {
     beautiful = new CardBeautifuler();
 }