Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How could a casino game prove to you that it is not cheating?

Kisiri Mfume
Registered User
Join date: 28 Aug 2005
Posts: 21
05-08-2006 08:58
I'd actually put a little thought into this in the past month or so as I was looking for another fun scripting task to tackle. Honestly, I don't think I'll ever get around to it, as it's too much of a headache, but I'll toss my ideas out here as food for thought.

Essentially the architecture would involve a 'head' device that would be the brains and heart of the machine. A device with a defined API to a 'display device' (basically, the machine itself with the reels and graphics and such) via link messages. This head device would be where the actual configuration of payouts would take place, the random number generator would run, etc. A quote:

From: Adriana Caligari

( My own games use random numbers and I have to admit to every casino owner who wants them that I cannot guarentee a "house take" as I will not alter the outcome of the random number generator )


In actuality, you CAN guarantee a house take in this fashion. The payout table (i.e. which random numbers result in which payouts) determines exactly the percentage return of the machine. In a very simplistic example, you have a random number generator that returns a number from 1 to 5. 1-4 you get nothing, and 5 you get 4 credits. This should result in an 80% return, as for every 5 credits you put in, you should get 4 credits back. Read up on weighted averages for more complicated examples. This is pretty much identical to how a commercial casino slot machine operates. Believe me... a friend of mine hit a six-figure jackpot in Vegas last weekend, and we spent the next 3 hours standing/sitting/sleeping (it was 2am!) around the machine as techs from both the casino AND the slot manufacturer came in, ripped the machine to its guts, and took an EPROM reader to the random number generator to verify that the random number generated was on the "master list" of valid jackpot numbers. Keep in mind that, as with all slot machines, this is a guaranteed house take over an infinte amount of time. You could run into a case where the random generator tosses out "5" 10 times in a row (odds of this is about 1 in 9.7 million). This is a risk you take as a casino operator. You need to have enough cash on hand to pay out the unusual cases. Over time, you -will- get 20% of what everyone pays in.

Back to the architecture discussion, sorry. So the "TrustLink" (my quirky, commercial suggestion of a name) head on the device would be where the operator would configure the payout tables, and based on that configuration, the device could calculate the return percentage. The device could be configured to display the return percentage it had been configured for as floating text. Now alone, this doesn't mean much. Floating text isn't hard to spoof. So there needs to be some kind of verfication method for a gambler to be able to assure they're using a valid "TrustLink" enabled machine. The solution I'd been thinking of was a simple HUD attachment and some manner of encrypted comm channel, i.e. use a combination of the HUD attachment key or user key to set up a listen channel that could be used by the TrustLink device to 'speak' to the user over (i.e. the channel number would be different for everyone, but predictable by the head device somehow). This would mean a closed-source solution, simply because if the communications channel could be spoofed, anyone could code up something that gave the appearance of being valid. The information available over this link would be, say, configured return rate, return rate over the last 100 plays, 1000 plays, etc. Basically, enough to prove that the machine is configured for the return which is advertised by the casino. These HUD verification devices would be distributed free of charge at any location which sells the TrustLink head device.

As a bonus feature, the unit could also be configured in a verification mode where it would play itself every few seconds continuously and keep track of its payouts, and display the proper statistics as floating text. An extra bonus would be making the system able to provide for progressive jackpots, networked progressive jackpots, and bonus games. That last one is extra tricky, since the bonus games tend to screw with the return percentages somehow in a manner I haven't figured out.

The only way this could really be implemented in a trustworthy manner is to have it written by a) a respected, recognized scripter in the game, and b) by someone that's not actively running a casino themselves. Anything else tends to be inherantly untrustworthy. Despite my own confidence in my projects, I don't think I'm near (a) yet, but I do definitely fit (b). I have zero interest in taking the money of fools :p

Feel free to pick my brain on this to flesh out the idea if you want to tackle it. I'd be willing to contribute some time and effort to a joint coding project if someone out there really wants to run with this. It was a fun idea, but just too -big- for me at the moment, considering the array of other nearly finished things that I'm working on that I -really- want to finish.
Enabran Templar
Capitalist Pig
Join date: 26 Aug 2004
Posts: 4,506
05-08-2006 09:05
u cant prove it becuz sl suxxx and we shud all just quit lolololololololol
_____________________
From: Hiro Pendragon
Furthermore, as Second Life goes to the Metaverse, and this becomes an open platform, Linden Lab risks lawsuit in court and [attachment culling] will, I repeat WILL be reverse in court.


Second Life Forums: Who needs Reason when you can use bold tags?
Maxx Mandelbrot
Registered User
Join date: 24 Apr 2006
Posts: 18
Casino games scripting
05-08-2006 09:34
From: Hiro Pendragon
Rei, the question is not whether the machine had a house advantage, but if the casino is blatantly cheating. Games like blackjack, Roulette, poker, etc all have a house advantage built into the nature of the game itself. But, if the script is designed to make sure you don't by chance get blackjack 3 times in a row, that's cheating.

I really believe the only way we'll ever get "fair" casino games in any MMO is if they are regulated by a federal gambling commission.



There may also be some "house rules" implemented.

Such as a blackjack table where if either the dealer or the player gets a "5 Card Charlie" (5 cards without going over 21), they automatically win. if both the player and the dealer get a 5CC, then the higher total without going over, wins. This one caught me by surprise the other day, and i reported it as a possible bug to the owner. Apparently it's a feature, not a bug (the programmer's credo!). However, I can see a lot of players complaining, since nobody reads notecards, usually.
nimrod Yaffle
Cavemen are people too...
Join date: 15 Nov 2004
Posts: 3,146
05-08-2006 09:35
I think it's funny how often people talk about regulating gambling, yet there are no groups that does it. I doubt any place would participate that has their own unique machines either. All the responsibility, if the script gets out, would belong to the person who checked the machine, I doubt anyone would want that.
_____________________
"People can cry much easier than they can change."
-James Baldwin
Qweebokal Basiat
Unregistered User
Join date: 20 Apr 2006
Posts: 92
05-28-2006 18:33
From: Yumi Murakami

Can anyone suggest (or "think of"!?) any output or display that a scripted game could produce that would enable you to trust that it was fair? I myself can't think of any, because anything could be forged, but someone probably knows better :)


Have a payback higher than 100%
Raquel Montagne
Registered User
Join date: 27 Aug 2005
Posts: 152
05-28-2006 18:39
how about a linden run (or part run) ethics board, where they verify that the scripts used in gaming and any other type of business dont cheat
nimrod Yaffle
Cavemen are people too...
Join date: 15 Nov 2004
Posts: 3,146
05-28-2006 19:07
From: Raquel Montagne
how about a linden run (or part run) ethics board, where they verify that the scripts used in gaming and any other type of business dont cheat

Already suggested, they said no. :(
Iron Perth
Registered User
Join date: 9 Mar 2005
Posts: 802
05-28-2006 19:22
LL needs a "read only" permission on scripts.
_____________________
http://ironperth.com - Games for SecondLife and more.
nimrod Yaffle
Cavemen are people too...
Join date: 15 Nov 2004
Posts: 3,146
05-28-2006 20:58
From: Iron Perth
LL needs a "read only" permission on scripts.

If you can read it, you would be able to copy it. Copy and paste, or by hand.
Susie Boffin
Certified Nutcase
Join date: 15 Sep 2004
Posts: 2,151
05-28-2006 21:05
By paying out more money to the players than the owners.
_____________________
"If you see a man approaching you with the obvious intent of doing you good, you should run for your life." - Henry David Thoreau
Qweebokal Basiat
Unregistered User
Join date: 20 Apr 2006
Posts: 92
05-28-2006 22:10
From: Iron Perth
LL needs a "read only" permission on scripts.


Problematic, as anyone who could read the script could thereby copy the dang thing.
1 2