Posted: Mon Jan 23, 2006 7:43 pm Post subject: (No subject)
Your main function has to be inside the class.
EDIT: Also, a bug I noticed when I glanced through your code: when the user has an ace and you ask them what value they want it to be, they can enter anything and their score will be adjusted accordingly. Meaning that as soon as you get an ace, you can just enter however many points you need to get to 21 and win every time.
xtreemboarder
Posted: Mon Jan 23, 2006 9:40 pm Post subject: (No subject)
Martin wrote:
Your main function has to be inside the class.
EDIT: Also, a bug I noticed when I glanced through your code: when the user has an ace and you ask them what value they want it to be, they can enter anything and their score will be adjusted accordingly. Meaning that as soon as you get an ace, you can just enter however many points you need to get to 21 and win every time.