Bill Palby's source code
Acey-Ducey is played in the following manner. The dealer deals two cards from a 13 card deck (2, … J, Q, K, A) face up. You have an option to bet or not to be depending on whether or not you feel the next card will have a value between the first two. The deck is shuffled between each bet.
If you do not want to bet, input a 0.