Difference between revisions of "Slot Machine"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Add probabilities for outcomes and associated expected values, based on inspecting the code)
Line 5: Line 5:
 
The player can bet either 10 or 100 Qi coins when using a slot machine. If the results match one of the winning lines, the player receives a multiple of their bet. If there is no match the player loses their bet.  
 
The player can bet either 10 or 100 Qi coins when using a slot machine. If the results match one of the winning lines, the player receives a multiple of their bet. If there is no match the player loses their bet.  
  
Daily [[Luck]] and the Luck buff from various food items can increase the chance of winning and your expected return when gambling. Otherwise, rolls are randomly determined.
+
==Roll Probability==
 +
 
 +
Daily [[Luck]] and the Luck buff from various food items increase the chance of winning and your expected return when gambling. Probability ranges are from minimum luck (negative daily luck, no buff) to maximum luck (max daily luck, +5 luck from [[Magic Rock Candy]]).
 +
 
 +
All probabilities are independent of each other except Parsnip and Single/Double Cherry (due to specific ordering within the code).<ref name="slots" />
 +
 
 +
{| class="wikitable"
 +
!Name
 +
!Reward
 +
!Minimum Probability
 +
!Maximum Probability
 +
|-
 +
|Stardrop
 +
|2500x
 +
|0.00329%
 +
|0.00729%
 +
|-
 +
|Diamond
 +
|1000x
 +
|0.0329%
 +
|0.0729%
 +
|-
 +
|Triple Cherry
 +
|500x
 +
|0.0658%
 +
|0.1458%
 +
|-
 +
|Melon
 +
|200x
 +
|0.1316%
 +
|0.2916%
 +
|-
 +
|Nautilus Shell
 +
|120x
 +
|0.2632%
 +
|0.5832%
 +
|-
 +
|Trout
 +
|80x
 +
|0.3948%
 +
|0.8748%
 +
|-
 +
|Milk
 +
|30x
 +
|0.6580%
 +
|1.4580%
 +
|-
 +
|Parsnip
 +
|5x
 +
|3.2900%
 +
|7.2900%
 +
|-
 +
|Double Cherry
 +
|3x
 +
|1.9740%
 +
|4.3740%
 +
|-
 +
|Single Cherry
 +
|2x
 +
|7.896%
 +
|17.496%
 +
|}
 +
 
 +
This means that the expected value of playing slots is between 2.2x and 4.9x.
 +
 
 +
==References==
 +
<references>
 +
<ref name="slots">See <tt>Slots::setSlotResults</tt> in the game code.</ref>
 +
</references>
  
 
==History==
 
==History==

Revision as of 17:30, 28 December 2019

Slot Machine.gif
Slot Machine Rewards.png

Slot Machines are a mini-game found in the Casino.

The player can bet either 10 or 100 Qi coins when using a slot machine. If the results match one of the winning lines, the player receives a multiple of their bet. If there is no match the player loses their bet.

Roll Probability

Daily Luck and the Luck buff from various food items increase the chance of winning and your expected return when gambling. Probability ranges are from minimum luck (negative daily luck, no buff) to maximum luck (max daily luck, +5 luck from Magic Rock Candy).

All probabilities are independent of each other except Parsnip and Single/Double Cherry (due to specific ordering within the code).[1]

Name Reward Minimum Probability Maximum Probability
Stardrop 2500x 0.00329% 0.00729%
Diamond 1000x 0.0329% 0.0729%
Triple Cherry 500x 0.0658% 0.1458%
Melon 200x 0.1316% 0.2916%
Nautilus Shell 120x 0.2632% 0.5832%
Trout 80x 0.3948% 0.8748%
Milk 30x 0.6580% 1.4580%
Parsnip 5x 3.2900% 7.2900%
Double Cherry 3x 1.9740% 4.3740%
Single Cherry 2x 7.896% 17.496%

This means that the expected value of playing slots is between 2.2x and 4.9x.

References

  1. See Slots::setSlotResults in the game code.

History

  • 1.4: Recalculated the way random number generation is done, removing repeating pattern exploits. All Casino games now slightly favor the player rather than the house.