• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

MAKING A CARD GAME

As the example application for this chapter, I picked a card game called Swimming. The rules are not too complex and are easy to learn and to translate into ActionScript. Although I programmed the game, Shannon Ecke (http://www.shannonecke.com) helped me out with the design.

The Rules

Swimming is a game for two or more players. It is usually played with a 32-card deck (card values worth seven and higher). Each player starts with three chances. After he or she loses all three, he or she is swimming. On the next loss, the player drowns and is “out.”


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint