By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,101 Members | 1,387 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,101 IT Pros & Developers. It's quick & easy.

Slot Machine Program

P: 2
I am trying to figure out how to make a simple slot machine program in VBScript that starts by prompting and collecting the desired number of slot machine spins to simulate
simulates the spins:
each spin requires a randomly generated three picture enum values
each of those values is printed to the screen as Lion, Cherry, Bar, Lemon or Lime
The result of the spin is then printed, jackpot, winner, or loser
Jackpot = all values are the same
Winner = the first to values are the same
Loser = all other combinations
Then store results in an array and provide a summary of the results
Something like "You spun 10 times and won 3 out of 10 earning $30"
for each win give $10 per win and $25 per jackpot

I am completely stumped on where to start for this program, and my teacher is just blowing off all of my questions.
Mar 15 '07 #1
Share this Question
Share on Google+
1 Reply

P: 1,646
Hi. TSDN is, in fact, teacher friendly. You need to read the posting guidelines especially regarding assignments
Mar 15 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.