MagnusRasmussen / OOSE_2014

Semester assignment for OOSE
0 stars 1 forks source link

Allowed action #9

Open keownrex opened 10 years ago

keownrex commented 10 years ago

We might need to make a function that check if you can Draw or stand, so that you can't keep punching the keys

NicklasJakobsen commented 10 years ago

Another solution might be to do the same when standing/hitting as we do when we check for allowed bets. Meaning that we make the player write exactly "h" or "s" and then press enter and then if its == the program executes the command, and if its not it will ask for the input again :3?