That's good, Jodie! The idea behind this Acey Deucey is, you're betting whether the third card you draw will fall between the first two. If it does, you win; if it doesn't, you lose. Aces are always high (and deuces, i.e. 2, is always low — thus the name of the game). So when Card 1 and Card 2 are an ace and a queen, the only winning card would be a king; I would normally enter 0 and skip that one! But when your two cards are a deuce and an ace, you are almost guaranteed a win, so bet big! 🙂
Anyway, it's great that you were able to modify the code! That's really the important thing. Modding an existing program is a very good first step towards creating your own programs from scratch. Did you get a chance to check out the other 13 demos?