on-internet
← Community

C# Poker: how to keep track of players and make game engine (classes) preflop, flop, turn, river?

Stack Overflow ·

Im recently studying c# and want to create a 'simple' console app poker game. Ive created classes: player, hand, deck, dealer. Dealer gets cards out of the deck and assigns it to player instances. What I'm struggling with now is how to progress further? I need to make some gameplay possible. This is what i have coded thusfar: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication10 { class Program { static void Main(string[] args) { //Deck d = new Deck(); Player[] players = new Player[2]; Dealer dealer =

Comments

Sign in or sign up to comment and upvote.

No comments yet.