JazzEngineer
New member
Attached please find a DrawPoker console game. I can't figure out how to call the CreateDeck or Shuffle methods without calling the Deck constructor. The problem is that calling the Deck constructor generates a new Deck object. This new Deck object is NOT referred to by the rest of the code. My objective is to regenerate the Deck after each hand even though I have a running total of points earned/lost. That way I don't run out of cards unless the player runs out of points. The player is credited with 100 points at the game's beginning and the game only decrements 1 point for no hand.
Another problem I'm having with the game is that it does multiple DealHands per draw. Therefore, it begins with approx. 47 cars @ opening and runs out rapidly.
Note that this console application is written in VS 2012 for those with VS 2010.
Thank you for all your help.
Jazz Engineer
Another problem I'm having with the game is that it does multiple DealHands per draw. Therefore, it begins with approx. 47 cars @ opening and runs out rapidly.
Note that this console application is written in VS 2012 for those with VS 2010.
Thank you for all your help.
Jazz Engineer
Attachments
Last edited by a moderator: