예제 #1
0
 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);
 }
예제 #2
0
 private static bool HandleEventPlayerHasPlayed(Event eventReceived)
 {
     Console.WriteLine("Player #" + eventReceived.Player.Id + " played " + CardBeautifuler.GetStringCard(eventReceived.Table.GetTopStackCard()));
     return(true);
 }
예제 #3
0
 public ClientGameHandler()
 {
     beautiful = new CardBeautifuler();
 }