Opticraft Community
Discussion forum => Legacy => Archives => Projects and Creations => Topic started by: tiggy26668 on October 10, 2012, 01:28:25 am
-
Since a few people are curious about it, a few think it's rigged, and others just love it, i thought i'd make a post with some details on it. :D
How it Works:
The Slot Machine is based on a 5 digit binary random number generator that produces values from 00000 to 11111, or for those that don't speak binary, 0-31, giving us a total of 32 possible outcomes.
With my version getting 00000, or no lights turned on, gives you a free spin, this effectively removes one possible outcome as it's essentially not spinning, which leaves us 31 possible permutations (outcomes)
i allow bets from $100-$500 rewarding prizes for 3, 4 and 5 lights in a row yielding 1x/2x/3x payout respectively.This can pay the player $100-$1500 for a winning spin given what they bet, yielding a profit of $0(money returned)-$1000
The theoretical statistics are as follows(0 = light off, 1 = light on):
1x: there's 3 possible ways out of 31 to get 3 lights in a row, 11100, 01110, 00111 hence 3 in 31 chance to win your money back
2x: there's 2 possible ways out of 31 to get 4 lights in a row 11110, 01111 hence 2 in 31 chance to win twice your bet
3x: there's 1 possible way out of 31 to get 5 lights in a row 11111 hence 1 in 31 chance to win three times your bet.
Link to a tutorial on building the random number generator (i simply expanded the concept to 5 outputs instead of 3, and linked them into redstone lamps):
http://www.youtube.com/watch?v=wtYoKcG67Qg (http://www.youtube.com/watch?v=wtYoKcG67Qg)
Side Note:
if anyone would like to steal the idea feel free, it's quite profitable while still being a lot more fair than most of the current other slot machines on the server. Not to mention flashing lights is more addictive than watching wool pop out of a dispenser :P
See Also:
A link to the post on my High Stakes Numbers Game
http://www.opticraft.net/index.php/topic,14070.0.html# (http://www.opticraft.net/index.php/topic,14070.0.html#)
Pictures ;D
(http://www.opticraft.net/proxy.php?request=http%3A%2F%2Fi1071.photobucket.com%2Falbums%2Fu509%2Ftiggy26668%2F2012-10-09_202839.png&hash=77a47fc6495cc612f348cba54d94e314)
(http://www.opticraft.net/proxy.php?request=http%3A%2F%2Fi1071.photobucket.com%2Falbums%2Fu509%2Ftiggy26668%2F2012-10-09_202854.png&hash=5c7f49f86701d64e436017e74143ca98)
(http://www.opticraft.net/proxy.php?request=http%3A%2F%2Fi1071.photobucket.com%2Falbums%2Fu509%2Ftiggy26668%2F2012-10-09_202948.png&hash=ff11f11b6443380828717857a26f8fc0)
(http://www.opticraft.net/proxy.php?request=http%3A%2F%2Fi1071.photobucket.com%2Falbums%2Fu509%2Ftiggy26668%2F2012-10-09_202937.png&hash=eda7d32f94e1a09a671cf745085c357a)
(http://www.opticraft.net/proxy.php?request=http%3A%2F%2Fi1071.photobucket.com%2Falbums%2Fu509%2Ftiggy26668%2F2012-10-09_203026.png&hash=99096f69b37a1bc6254390e1e9576bfb)
(http://www.opticraft.net/proxy.php?request=http%3A%2F%2Fi1071.photobucket.com%2Falbums%2Fu509%2Ftiggy26668%2F2012-10-09_203237.png&hash=532282de78db280af6040623619ab57a)
*edit* i did a /binary fail, 11111 = 31 not 63 so there's only 32 possible outcomes, however this actually improves the odds of the player winning so no harm no foul. updated the post to reflect this with the exception of the screenshot im too lazy to upload again :P
-
I like this game :) I've played yours once and enjoyed it ;D
-
I played on your slot machine,its fun and i believe the chances of winning are fair. :)
-
Yeah seemed pretty legit to me :D And it's a great change in games lol, spleef gets ooooold
-
If it's a secret, why are you blurting it out to the public? Kinda defeats the purpose of 'secrecy...' :P
-
If it's a secret, why are you blurting it out to the public? Kinda defeats the purpose of 'secrecy...' :P
I think he just wants to grab people's attention lol
-
If it's a secret, why are you blurting it out to the public? Kinda defeats the purpose of 'secrecy...' :P
I think he just wants to grab people's attention lol
hmmmm could b.... could b.... ;D
truth be told i just like alliterations....
Super Secret aweSome Slot maCHine
-
Yeah seemed pretty legit to me :D And it's a great change in games lol, spleef gets ooooold
I have gotten bored of spleef as well, plus on my arena, people don't clean up after theirselves D:<
-
Yo, tip
I'm not sure if you know that you can press F1 and it hides all the chat and hotbar. This is good for screenshots
-
Looks good, sounds fair! I would love to give it a go sometime! ;D