Video Poker Game

Vegas

Goals

The goal of this assignment is simple: write a video poker game. The game will follow the jacks or better<标题> rules listed at .

Specifics

Playing Video Poker

Video poker works a lot like real<标题> poker, though there are a few differences. A game follows these steps:

  1. Before any cards are dealt, the player selects the number of credits she wants to wager on the hand (between 1 and 5). These credits are deducted from the player’s balance before the hand is dealt. If the player wagers more than she has, put up a status message and ask again.
  2. The hand is dealt and displayed.
  3. The player selects zero or more cards to keep. Cards are selected by clicking on them; the word HELDappears over cards that will be kep

Leave a Reply

Your email address will not be published. Required fields are marked *