*Had to program 3 casino games in java for final project.*
*Craps was one of them.*
I would help, but I won't for a couple reasons. The first one is a program that small you should be able to check yourself. Two I don't have the necessary program installed on this computer to run that code and I don't feel like looking at it in order to find errors since running it is just far easier. Finally you are consistently an ass to people on here and as a result I don't feel like helping.
English
-
Edited by colbyrules8: 8/31/2013 7:27:22 PMIt's not about it being hard or easy, the program runs perfectly. I was just wondering about the logic behind it and if the odds are coming out correctly as I have never played craps. I'm getting around a 50/50 chance of a win or a loss and ending up with around 1200 dollars from the method of betting used in my program.
-
A 50/50 chance of winning is kind of expected for the most part. Since rolling a 7 is the most likely rolls you can get. If you don't win on the first round and say your point becomes a 4 then you have only a 3 in 36 chance of winning while getting a 7 is a 1 in 6 chance of winning. Looking at your code there is nothing wrong with it as far as I can tell, but I can't run it to make sure it is correct and I haven't programmed in java in a while. However since you say it runs fine and it gives you the proper results I think you should be good.
-
Alright, thanks man.