| Poker Site Manual |
| The card display
The card function deals the cards from a deck. The particular deck can be choosen at random. A featured person may appear in only one of the decks used. For example, Brad is the King of Hearts in the parrot deck but not the tree deck. The program deals the cards in several steps. First it makes all of the cards available by setting $c[1] through $c[52] to "card in deck". It then, one at a time, stores in $player[1] and [2] and $robot[1] and [2] a card value and marks that card value as having been dealt. It then in the same way stores card values in $b[1] through $b[5] |