# Casino

The Casino is located in the north east section of Ardan.

It has two shops and four games you can play.

## Combat Merchant

Item | Price (tokens) |
---|---|

The Golden Orb | 5000 |

Gambler's Pouch | 7500 |

Metal Slime Shield | 7500 |

Meteorite Armband | 7500 |

Mage Slime Robes | 10000 |

Metal Slime Armor | 10000 |

## Miscellaneous Merchant

Item | Price (tokens) |
---|---|

Plus Gold Seed (Large) | 600 |

Plus Exp. Seed (Large) | 600 |

Luck Seed (Large) | 600 |

Red Candle | 1500 |

Midnight Dye | 2000 |

## Games

At the Casino you can play the following games:

**Five Card Draw**- May bet up to 100 tokens (expected return of 102.69%)**Joker Poker**- Same as Five Card Draw except with jokers as wilds (expected return of 88.36%)**Slime Races**- 650 gold to place a bet, races go every 10 minutes, 300 token reward. (expected return of 10.83 gold/token)**Monster Arena**- 500 gold to play. Bet on the NPC who will win the free-for-all fight.

If you have less than 300 tokens you may buy tokens for 10 gold each. However, the only way to go over 300 tokens is to play games.

## Statistical Analysis

In the real world, the kind of single-player poker that is present in NEStalgia is called "Video Poker". Analyzing probabilities of Video Poker is extremely complex because of the strategy involved; first, there are the probabilities of getting each hand, then there are the probabilities of getting each hand after the second draw and those depends on what the player has after the first draw and what he does at this point. Here we assume that the player always does what would maximize his return expectancy for the second draw; the "optimal strategy". Again, this is very complex. Fortunately, we have access to simulating tools made by professional statisticians at wizardofodds.com. The first tool is the optimal strategy calculator. You may use this one to actually see what the optimal strategy is for each game. The second tool is the video poker analyzer. Assuming optimal strategy from the player and equiprobable randomness by NEStalgia's random number generator, here are the results for both poker games:

Hand | Prize | Combinations | Probability | Frequency | Variance | Return |
---|---|---|---|---|---|---|

Royal Flush | 500 | 32,331,042 | 0.000019 | 51,377.95 | 4.845935 | 0.009732 |

Straight Flush | 60 | 184,772,685 | 0.000111 | 8,989.98 | 0.386856 | 0.006674 |

Four of a Kind | 25 | 3,864,249,137 | 0.002326 | 429.86 | 1.336960 | 0.058158 |

Full House | 10 | 18,776,318,733 | 0.011304 | 88.47 | 0.910128 | 0.113035 |

Flush | 7 | 24,339,963,588 | 0.014653 | 68.25 | 0.522791 | 0.102570 |

Straight | 5 | 24,696,797,325 | 0.014868 | 67.26 | 0.234699 | 0.074339 |

Three of a Kind | 3 | 119,916,242,897 | 0.072191 | 13.85 | 0.281058 | 0.216572 |

Two Pair | 2 | 207,465,454,449 | 0.124896 | 8.01 | 0.118276 | 0.249792 |

Jacks or Better | 1 | 325,562,908,980 | 0.195992 | 5.10 | 0.000141 | 0.195992 |

Nothing | 0 | 936,263,504,264 | 0.563640 | 1.77 | 0.594331 | 0.000000 |

Totals | 1,661,102,543,100 | 1.000000 | 2.29 | 9.231174 | 1.026865 |

Hand | Prize | Combinations | Probability | Frequency | Variance | Return |
---|---|---|---|---|---|---|

Natural Royal Flush | 65 | 12,240,680 | 0.000012 | 82,110.63 | 0.049407 | 0.000792 |

Wild Royal Flush | 65 | 264,032,488 | 0.000263 | 3,806.69 | 1.065721 | 0.017075 |

Five of a Kind | 100 | 420,900,888 | 0.000419 | 2,387.95 | 4.078989 | 0.041877 |

Straight Flush | 45 | 1,686,845,026 | 0.001678 | 595.84 | 3.204093 | 0.075524 |

Four of a Kind | 18 | 19,058,901,882 | 0.018962 | 52.74 | 5.284341 | 0.341323 |

Full House | 8 | 18,639,232,362 | 0.018545 | 53.92 | 0.830878 | 0.148359 |

Flush | 5 | 18,335,425,996 | 0.018243 | 54.82 | 0.248872 | 0.091213 |

Straight | 4 | 34,776,037,339 | 0.034600 | 28.90 | 0.251032 | 0.138400 |

Three of a Kind | 2 | 180,403,921,648 | 0.179490 | 5.57 | 0.086339 | 0.358981 |

Two Pair | 1 | 93,371,018,382 | 0.092898 | 10.76 | 0.008724 | 0.092898 |

Nothing | 0 | 638,121,396,449 | 0.634890 | 1.58 | 1.083621 | 0.000000 |

Totals | 1,005,089,953,140 | 1.000000 | 2.74 | 16.192018 | 1.306440 |