Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 19th, 2006, 11:23 PM   #1
frankish
Hobbyist Programmer
 
frankish's Avatar
 
Join Date: Oct 2005
Location: Ohio
Posts: 177
Rep Power: 0 frankish is an unknown quantity at this point
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.
frankish is offline   Reply With Quote
Old Aug 20th, 2006, 12:41 AM   #2
AntiNinja
Hobbyist Programmer
 
AntiNinja's Avatar
 
Join Date: Jun 2006
Location: The States
Posts: 101
Rep Power: 3 AntiNinja is on a distinguished road
Send a message via AIM to AntiNinja Send a message via Yahoo to 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.
__________________
Pain is just weakness leaving the body.
AntiNinja is offline   Reply With Quote
Old Aug 20th, 2006, 9:26 AM   #3
frankish
Hobbyist Programmer
 
frankish's Avatar
 
Join Date: Oct 2005
Location: Ohio
Posts: 177
Rep Power: 0 frankish is an unknown quantity at this point
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.
frankish is offline   Reply With Quote
Old Aug 20th, 2006, 9:28 AM   #4
Lord Barlak
Newbie
 
Lord Barlak's Avatar
 
Join Date: Jun 2006
Location: Boston MA
Posts: 19
Rep Power: 0 Lord Barlak is on a distinguished road
Neato
Lord Barlak is offline   Reply With Quote
Old Aug 20th, 2006, 12:15 PM   #5
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
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.
Booooze is offline   Reply With Quote
Old Aug 20th, 2006, 12:58 PM   #6
frankish
Hobbyist Programmer
 
frankish's Avatar
 
Join Date: Oct 2005
Location: Ohio
Posts: 177
Rep Power: 0 frankish is an unknown quantity at this point
Thanks guys!
frankish is offline   Reply With Quote
Old Aug 20th, 2006, 2:09 PM   #7
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to 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!
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Aug 20th, 2006, 6:27 PM   #8
frankish
Hobbyist Programmer
 
frankish's Avatar
 
Join Date: Oct 2005
Location: Ohio
Posts: 177
Rep Power: 0 frankish is an unknown quantity at this point
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.
frankish is offline   Reply With Quote
Old Aug 20th, 2006, 7:12 PM   #9
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Aug 21st, 2006, 2:32 AM   #10
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
Quote:
Originally Posted by frankish
You ever been to a casino? It's all chance I'm telling you.
Yeah, I'm just kidding :-)
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Maverik 6.2 (from C) megamind5005 C 16 May 3rd, 2006 5:41 PM
Eternity Online Lucid Project Ideas 4 May 12th, 2005 9:54 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:52 PM.

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