
My
very first assignment at University was to program a game of 21, although it
was a cut down version. The assignment was in Pascal, so I have converted the
code into Python to demonstrate a simple assignment. The basic rules of
BlackJack (21, Pontoon) are that you have a deck of cards, and face cards count
as 10 (Jack, Queen, King), and the Ace can count as 1 or 11. You see your
cards, but not the dealers (you see one of the dealers cards)...