static void game_GameCompleted(object sender, BigTwoPlayerEventArgs e) { Console.WriteLine(); Console.WriteLine(); Console.WriteLine("****************************************"); Console.WriteLine("Congratulations {0}! You are the winner!", e.Player.Name); Console.WriteLine("****************************************"); Console.WriteLine(); Console.WriteLine(); Console.WriteLine("Press any key to exit..."); Console.ReadKey(); }
static void game_SequenceCompleted(object sender, BigTwoPlayerEventArgs e) { Console.WriteLine("{0} won the sequence!", e.Player.Name); foreach (IPlayer player in game.Players) { Console.WriteLine("{0} has {1} cards remaining.", player.Name, player.CardCount); } Console.WriteLine(); Thread.Sleep(1500); }
static void game_PlayerTurnStart(object sender, BigTwoPlayerEventArgs e) { //Console.WriteLine(e.Player.Name + " turn started."); }
static void game_PlayerTurnEnd(object sender, BigTwoPlayerEventArgs e) { Thread.Sleep(1000); //Console.WriteLine(e.Player.Name + " turn completed."); }