|
-
Apr 8th, 2002, 06:08 PM
#1
Thread Starter
Fanatic Member
I need this for a game I'm writing.
I intend to sort integers into different "cards," each "card" representing an image to be displayed inside a picture box. I want the following:
If the random number is between 0 and 4, display a $250 "money card"
If the random number is between 5 and 9, display a $500 "money card"
And so on... all the way to 40, then I want this:
If the random number is between 40 and 44, display a bust card.
If the random integer is between 45 and 48, display a bust other card.
If the random integer equals 50, display the winner card.
How would I convert this to code?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|