static void Main(string[] args) { Participant.Participant player = new Participant.Participant(Role.Player); Participant.Participant dealer = new Participant.Participant(Role.Dealer); Deck.Deck deck = new Deck.Deck(); ConsoleInput input = new ConsoleInput(); ConsoleOutput output = new ConsoleOutput(); Message.Message message = new Message.Message(output); Game.Game game = new Game.Game(player, dealer, deck, input, message); game.PlayGame(); }
static void Main(string[] args) { //Console.WriteLine("Please enter the IPv4 Address of this server"); //Server server = new Server(Console.ReadLine()); //Console.WriteLine("Starting Listener on {0}:{1}", server.IpAddress, server.Port); //server.StartListener(); Game.Game game = new Game.Game(); game.AddPlayer(new Player("Kai")); game.AddPlayer(new Player("Max")); game.StartGame(); }
public Round(Dealer dealer, Player[] players, Game.Game game) { this.Dealer = dealer; this.Players = players; this.Game = game; }