static void Main(string[] args) { Table table = new Table(); var playerOne = new BlackJackPlayer { Name = "Player one" }; var playerTwo = new BlackJackPlayer { Name = "Player Two" }; table.AddPlayer(playerOne); table.AddPlayer(playerTwo); table.StartNewGame(); Console.WriteLine(table); table.PlayGame(); Console.WriteLine(table); var results = table.GetResults(); Console.WriteLine(results); }
static void Main(string[] args) { //var deck = new Deck(); //deck.Shuffle(); //Console.WriteLine(deck); Table table = new Table(); var playerOne = new Player { Name = "Player one" }; var playerTwo = new Player { Name = "Player Two" }; table.AddPlayer(playerOne); table.AddPlayer(playerTwo); table.StartNewGame(); Console.WriteLine(table); table.PlayGame(); Console.WriteLine(table); var results = table.GetResults(); Console.WriteLine(results); }