[sigh]... when I was in HS, I once created a blackjack game from scatch, full graphics and all. It had all functions of a typical blackjack game except split, and it operated on ramdomly generated cards with no suits, so it was possible to have 5 aces on the table, but the code was nearly flawless.
then I dropped my calculator on the floor, and the game was lost forever.