Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Show Off Your Open Source Projects (http://www.programmingforums.org/forum52.html)
-   -   Online Casino (http://www.programmingforums.org/showthread.php?t=11123)

frankish Aug 20th, 2006 12:23 AM

Online Casino
 
Check it out you can win a lot in my online casino. Just go to my new site. (http://francoislamini.funpic.org/Home.html) I'm writing this stuff in PHP. I just love PHP. Tell me what you think and if you won anything.

AntiNinja Aug 20th, 2006 1:41 AM

Haha neat, I ran out of credits after the 3rd try :(. You should make it keep the ID so you dont have to keep re-entering it.

frankish Aug 20th, 2006 10:26 AM

Quote:

Originally Posted by AntiNinja
Haha neat, I ran out of credits after the 3rd try :(. You should make it keep the ID so you dont have to keep re-entering it.

For the sake of security I won't be doing that.

Lord Barlak Aug 20th, 2006 10:28 AM

Neato

Booooze Aug 20th, 2006 1:15 PM

Woot. I didn't win once. but overall, it's pretty nice, you could easily add in some more casino games just for fun. Site is looking good.

frankish Aug 20th, 2006 1:58 PM

Thanks guys!

coldDeath Aug 20th, 2006 3:09 PM

I guessed about 50 times (no joke) and I didn't get a single one right O_O

:

myGuess = rand(10);
while (userGuess == myGuess):
  myGuess = rand(10);
print "You were wrong, I guessed", myGuess


Its fixed I tell ye!

frankish Aug 20th, 2006 7:27 PM

Quote:

Originally Posted by coldDeath
I guessed about 50 times (no joke) and I didn't get a single one right O_O

:

myGuess = rand(10);
while (userGuess == myGuess):
  myGuess = rand(10);
print "You were wrong, I guessed", myGuess


Its fixed I tell ye!

You ever been to a casino? It's all chance I'm telling you.

DaWei Aug 20th, 2006 8:12 PM

In the general case, the outcome of a single play is the result of chance. The outcome of a series of plays or games is the accrued result of a number of these plays. In the case of casinos run for profit, a bias is introduced. This is not generally in the play of the game (loaded dice, for instance), but in the manipulation of the actual payout, compared to what the payout would be if left entirely to chance and the probabilities of the various outcomes. If a person will win, on average, once for every four bets, you simply pay him less for that win then percentages dictate that you should pay. In this way you can set your profit margin as surely as if there were no chance involved.

coldDeath Aug 21st, 2006 3:32 AM

Quote:

Originally Posted by frankish
You ever been to a casino? It's all chance I'm telling you.

Yeah, I'm just kidding :-)


All times are GMT -5. The time now is 12:42 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC