Chapter 15. Casino and Card Games

Casino and Card Games

Gambling games have always been a popular genre of computer games. The Web is full of casino and card games in Flash, Shockwave, and Java. Most are just for fun, but some allow you to bet real money.

In this chapter, you’ll look at four just-for-fun casino games. The first is a pure game of chance: a slot machine. Next, you’ll see how to make a video poker game. Then, you’ll look at a game that requires a little more skill for the player: blackjack. The final game is one of my favorites: pyramid solitaire, the most fun of all the solitaire games.

Tip

I’d like ...

Get Macromedia® Flash™ MX ActionScript for Fun & Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.