Simple survival slot machine

Building instructions - Note that the hoppers feed into droppers, and each dropper should contain 1 stackable item (e.g., 1 piece of dirt) and 1 non-stackable item (e.g., 1 wooden shovel).


This is a pretty simple (and lucrative) design I came up with a few years back, just 5 hopper-dropper randomizers connected up to pistons.

As with all gambling games, the payout structure is the real key here. "Output" is the number of sand that pop up, and Payout includes the original bet (so for 3 sand, the player would profit 0.5x their original bet):

Payout Scheme

Output Probability Payout
0 3.13% Re-roll
1 15.63% Lose bet
2 31.25% Lose bet
3 31.25% 1.5x bet
4 15.63% 2x bet
5 3.13% 3x bet

Because the player re-rolls on 0, there's a 16/31, or 51.2%, chance of winning any given press, meaning the player is more likely to win than lose on any given press. Accounting for the 1/32 chance of a re-roll, the house has about a 10% edge:

House Edge

Output Probability Avg. $1 Bet Result
1 16.13% $0
2 32.26% $0
3 32.26% $0.48
4 16.13% $0.32
5 3.23% $0.10
TOTAL 100% $0.90
/r/Minecraft Thread Link - gfycat.com