Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Slot Machine 2
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Steel




PostPosted: Thu Jan 18, 2007 8:01 pm   Post subject: Slot Machine 2

Hey, i've been creating a slot machine game for my final summative. I had made many different combos using if statements. Ex. if combo1= 1 and combo2=1 and combo3=1 thhen coins:= coins +5. I had done this, and made 3 slots that randomize from 1-3. I did a procedure on the combos, and then i did an if statement, to make it that when you click the numbers randomize, and the whole procedure goes.

i wanted to make it more complicated by adding 2 difficulties easy and hard. If you click easy it goes into the 3 slots, if u click hard, it goes into the 4 slots. But i cant manage to do this, i have the 4 slot program made. A little help will b appreciated. If u have ne questions plz ask i know this is kinda confusin
Sponsor
Sponsor
Sponsor
sponsor
KevinW




PostPosted: Thu Jan 18, 2007 8:40 pm   Post subject: Re: Slot Machine 2

It'd be easier if you posted your source code...Then people would know what to help you with. BTW, I'm not sure if this goes against the rules of not doing other people's homework for them.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: