The cards feature doesn't seem to work very well. I get a display of the backs of cards, and when I try to discard a card that is in my hand (just guessing, based on what remains in the deck; I tried with both players and ), I get an error message where the name of the card is missing. If it is not in my hand, the error message includes the name of the card. Also, what is the name of the PHP global variable that stores the contents of your hand? (I have already figured out $deck, $cards, and $discardpile) Also, a suggestion, it may be useful to display how many cards in opponent's hand and how many cards remain in the draw pile, and the ability to use setsystem with the $deck and $discardpile variables as well as whatever array stores the cards in each player's hand.