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

Username:   Password: 
 RegisterRegister   
 Slot machine
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Amarylis




PostPosted: Sun Dec 04, 2011 3:24 pm   Post subject: RE:Slot machine

I've been doiong some work on it, I added a high score system, and a charity system (my teacher decided that, to make it a "lesser evil" so to speak, the gambling-based game would have to have an option for the player to donate some of his/her money to charity at the end), as well as encrypted the text files so that it'll be harder for people who dont know what they're doing to cheat (it's just converting the balance integer into a string, really). I've aksi added a way for players to put in how much they want to bet, and changed the winnings from 15x to 7x the amount entered


Now I just have to wait for the slow compiler to take a half hour to compile, after that i'll upload it



Edit: Compiled! It should be at the end of this post



Slot Machine v2.0.0.1.rar
 Description:

Download
 Filename:  Slot Machine v2.0.0.1.rar
 Filesize:  672.94 KB
 Downloaded:  91 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Aange10




PostPosted: Sun Dec 04, 2011 3:56 pm   Post subject: RE:Slot machine

Shouldn't take that long to compile
Aange10




PostPosted: Sun Dec 04, 2011 4:16 pm   Post subject: RE:Slot machine

As far as game play goes, since there is one row you should definitely win 1.25 on 2 fruit, instead of 1.


As far as code goes, your comments are still not good. Try going through and following the algorithm, and make sure the comments DO NOT EXCEED 80 columns.

Edit: Try and look at some of the submissions for how code should be organized. I submitted about an hour ago a little game I made earlier, try looking at the format of the code. Though if you need help on something, the comments should be a bit more thorough.
Amarylis




PostPosted: Sun Dec 04, 2011 4:50 pm   Post subject: RE:Slot machine

I like the 1x on two fruits as opposed to 1.25, it's supposed to be hard to win. Sorry, but I'm going to decline that suggestion (I'm making a new version with 3x3 grid soon)



For the commends, i'll lower them down to column 80. On my screen, they didn't go over because I'm always using the full screen code editor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 19 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: