Posted: 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
Posted: Sun Dec 04, 2011 3:56 pm Post subject: RE:Slot machine
Shouldn't take that long to compile
Aange10
Posted: 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
Posted: 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