
-----------------------------------
canusa
Tue Oct 12, 2004 6:42 pm

black jack help
-----------------------------------
heys guys i really need help to finish this any help would be very appreciated

-----------------------------------
Genesis
Tue Oct 12, 2004 7:07 pm


-----------------------------------
Do you have a specific problem? No one here is going to do your work for you.

In the code you posted all you can do is click radio buttons and it displays colored circles. (Or am I missing something?)

-----------------------------------
wtd
Tue Oct 12, 2004 7:22 pm


-----------------------------------
You have lengthy if...elsif...else statements.  You'd be better off replacing them with a case structure.  Not quite sure how such works in Turing, but an example in Ada95 (which often looks similar):

case playerdeck(playerdeckcard) is
   when 1 => Pic.ScreenLoad ("clubsace.bmp", 230, 0, picCopy);
   when 2 => Pic.ScreenLoad ("clubs2.bmp", 230, 0, picCopy);
   -- ...
end case;

-----------------------------------
canusa
Thu Oct 14, 2004 4:59 pm


-----------------------------------
i got rid of those radio buttons no clue y i put them in, thanks for telling me about the case stuff its appreciated, im working on the betting system right now, but the one thing that i cant get to work which i have down already is not all the cards show up
