In this chapter's project, you apply your knowledge of loops to developing the Dice Poker game. In addition, you get experience working with and controlling graphics by learning how to use the ImageList and PictureBox controls.
Figures 7.1 through 7.6 show examples from the Dice Poker game, demonstrating its functionality and overall execution flow.
Figure 7.1: The Dice Poker game begins by giving the player $20 in an account.
Figure 7.2: Players can elect to hold onto specific dice before rolling the dice a second time.
Figure 7.3: Two dollars are deducted from the player's account for each losing hand.
Figure 7.4: Winning hands are rewarded with additional credits to the player's account.
Figure 7.5: Winning hands include 3, 4, and 5 of a kind, full house, and high and low straights.
Figure 7.6: The game automatically ends if the player's account runs out of money.
By the time you have completed this game, you'll have a good understanding of how to work with loops. You'll also have a greater sense of using graphics controls in your applications.