Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Gambling Program with Java


bboy44
 Share

Recommended Posts

I started learning about java programming yesterday, and this is my first program.

Tell me what you think?

- You start out with 25 credits.
- You can bet 1, 5, 25 or 100 credits per spin.
- Each time you spin you get 3 numbers, ex) 1, 1, 0.
- You try to get them all the same, either all 1's (1, 1, 1) or 0's (0, 0, 0).
- If you win, the amount you bet will add to your total.
- If you lose, the amount you bet will subtract from your total.

I've only gotten up to 62.

Enjoy.

http://www.mediafire.com/?d3c6ag7sio47enu
Link to comment
Share on other sites

Thank you. I'm broke now.

Anyways, the application is pretty basic. Very simple to use. Overall, it's a really good way to start with Java. I must say that I actually enjoyed betting, thought I lost it all.

Plus, I noticed that, where the application name should be(In that top blue bar with the minimize, maximize and close buttons), when you hit bet 1, 5, 25 or 100, and a Message box comes up, in its blue bar, it says "Mensaje" instead of Message. Intentional error or not? Lawlz.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...