Twenty-One - The Card Game - Skip Header | Overview | Instructions | Download | History

Twenty-One - The Card Game

Overview

Almost like black jack except there is no money or betting. This program uses a 'real' deck of cards that is stored in a list. Because of this it is possible to count cards. There are four 1s through 9s and 16 10s which represent face cards each of which has a value of 10.

Instructions

Screenshot Screenshot Screenshot

After it is done dealing, the calculator will show you all of your cards and one of the dealers cards. Press one to be dealt another card or press any other key to let the dealer try to beat you. The object of the game is to get a higher score than the dealer without exceeding 21. If you hit 21 exactly you automatically win. An ace (1) is worth either 1 or 11 and the calculator will automatically decide which you want to use it as. Remember that there are more 10s than any other card. The dealer wins all ties. When the program uses a full deck of 52 cards it will automatically shuffle another and continue the game, or you can have it shuffle a new deck after any round by selectin again-shuffle from the menu. The program keeps track of how many rounds you and the dealer won and posts the score when you select quit.

Download

1720 bytes on calculator
TI82 HTML Source Code Best version to use when keying in the program in by hand.
TI82 Plain Text Source Code In the ASCII format used by the TI Graph Link software. Consult the character reference for special characters such as '/'.
TI82 Application Upload to calculator using TI Graph Link software and computer/calculator cable connection.
TI83/TI83-Plus HTML Source Code Best version to use when keying in the program in by hand.
TI83/TI83-Plus Plain Text Source Code In the ASCII format used by the TI Graph Link software. Consult the character reference for special characters such as '/'.
TI83 Application Upload to calculator using TI Graph Link software and computer/calculator cable connection.
TI83-Plus Application Upload to calculator using TI Graph Link software and computer/calculator cable connection.

History

The TI83 version should work properly now, no more syntax errors at the seq line. (The TI82 to TI83 conversion caused unbalanced parenthesis.) Dealing should also be much faster now. The program no longer sorts the deck 52 times as it deals, but manages to keep it sorted. (November 4, 2001)