Spelunky is © 2008, 2009 Derek Yu and Mossmouth, LLC, and is used under the [Spelunky User License v1.1b](https://spelunky.ai/LICENSE.txt). spelunky.ai is an unofficial fan project, not affiliated with or endorsed by Mossmouth. The game and its assets may not be sold.

Music by George Buzinkai and Jonathan Perry; sound effects made in SFXR. From Spelunky Classic 1.1, © 2008, 2009 Derek Yu and Mossmouth, LLC.

# Dice House

From the spelunky.ai wiki: <https://spelunky.ai/wiki/dice-house>. Verified against the spelunky.ai port [v0.1.10](https://github.com/851-labs/spelunky/releases/tag/v0.1.10) on 28 October 2026.

The Dice House is a shop in Spelunky Classic where the player bets on a throw of two dice: above 7 pays twice the bet, and a 7 wins the prize in its case.

![A wooden sign hanging from two chains, with a die face of one pip painted on it in black](https://spelunky.ai/wiki/media/583f7aa191eace98/sprites/sSignCraps/frames/0%404x.png)

| Dice House |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Chance     | 1 in 7 of the shops levels 2–15 build, and one in every Black Market[^1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Shopkeeper | [Shopkeeper](https://spelunky.ai/wiki/shopkeeper)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Found in   | [The Mines](https://spelunky.ai/wiki/mines)[^2], [The Jungle](https://spelunky.ai/wiki/jungle)[^3], [The Ice Caves](https://spelunky.ai/wiki/ice-caves)[^4], [The Temple](https://spelunky.ai/wiki/temple)[^5], [Black Market](https://spelunky.ai/wiki/black-market)[^6]                                                                                                                                                                                                                                                                                                              |
| Sells      | [Cape](https://spelunky.ai/wiki/cape), [Climbing Gloves](https://spelunky.ai/wiki/climbing-gloves), [Compass](https://spelunky.ai/wiki/compass), [Jetpack](https://spelunky.ai/wiki/jetpack), [Machete](https://spelunky.ai/wiki/machete), [Mattock](https://spelunky.ai/wiki/mattock), [Paste](https://spelunky.ai/wiki/paste), [Pistol](https://spelunky.ai/wiki/pistol), [Shotgun](https://spelunky.ai/wiki/shotgun), [Spike Shoes](https://spelunky.ai/wiki/spike-shoes), [Spring Shoes](https://spelunky.ai/wiki/spring-shoes), [Teleporter](https://spelunky.ai/wiki/teleporter) |

Its Shopkeeper welcomes the player with "WELCOME TO LEMMY'S DICE HOUSE!", his name one of 32 drawn at
random, and "PRESS P TO BET $2000.", the bet's price on level 2[^7][^8]. It has no wares for sale: it has two dice on its floor, a
sign of the rules on its wall, and a prize behind two blocks of ice at the back, which only a throw of 7
wins[^2][^9][^10]. Outside the [Black Market](https://spelunky.ai/wiki/black-market), it's a side
room off the way through a level like every shop, with the [Shopkeeper](https://spelunky.ai/wiki/shopkeeper) on a ledge above the
floor.

## Stock

**Clip: Winning at the Dice House.** In a Dice House on level 2, the shopkeeper invites the player to bet $2000. He bets, and a second bet is refused while the first is on. He throws the two dice across the shop; they come up 4 and 5, a 9, and he wins twice his bet. ([video](https://spelunky.ai/wiki/media/583f7aa191eace98/clips/dice-house/win/clip.mp4))

The pay key in the shop bets: the bet comes out of the player's money ("YOU BET $2000! NOW ROLL THE
DICE!"). Pressed again while a bet is on, it says "ONE BET AT A TIME!", and without the money, "YOU NEED
$2000 TO BET!". A thief, or a killer of Shopkeepers, gets nothing[^11].
The dice are picked up and thrown like any item. Each shows a number from 1 to 6, and rolls a new one on
every step it moves faster than 2 pixels a step; thrown while a bet is on, it's rolling, and it counts once
it comes to rest on the ground[^12]. When both have, the
Shopkeeper adds them up[^13]:

| Total | Shout                                                      | What the player gets                             |       |
| ----- | ---------------------------------------------------------- | ------------------------------------------------ | ----- |
| 2–6   | "YOU ROLLED A 5!" (the total), "I'M SORRY, BUT YOU LOSE!"  | Nothing                                          | [^14] |
| 7     | "YOU ROLLED A SEVEN! YOU WIN A PRIZE!"                     | The prize, and the bet is lost                   | [^15] |
| 8–12  | "YOU ROLLED A 9!" (the total), "CONGRATULATIONS! YOU WIN!" | Twice the bet, so the bet back and as much again | [^16] |

Either way the bet is settled and both dice are ready to throw again. He settles only while he's calm
and near the screen, and only with both dice still on the level[^17][^18][^19]. In
the clip, the player bets $2,000 and is refused a
second bet; the dice come up 4 and 5, and his $1,100 counts up to $5,100[^20].

**Clip: Rolling a seven at the Dice House.** The player bets again and throws the dice, which come up 5 and 2. On the seven, the prize in its case of ice blocks, a pair of spike shoes, pops out of it in a puff of smoke, free, and a bomb box takes its place in the case. He picks the shoes up and they go on. ([video](https://spelunky.ai/wiki/media/583f7aa191eace98/clips/dice-house/seven/clip.mp4))

The prize is rolled from a set of the dearer items: each roll is tried in turn until one hits, and a Bomb
Box if none does[^21][^22]:

| Prize                                                       | Roll              |       |
| ----------------------------------------------------------- | ----------------- | ----- |
| [Jetpack](https://spelunky.ai/wiki/jetpack)                 | 1 in 40           | [^23] |
| [Cape](https://spelunky.ai/wiki/cape)                       | Otherwise 1 in 25 | [^24] |
| [Shotgun](https://spelunky.ai/wiki/shotgun)                 | Otherwise 1 in 20 | [^25] |
| [Climbing Gloves](https://spelunky.ai/wiki/climbing-gloves) | Otherwise 1 in 10 | [^26] |
| [Teleporter](https://spelunky.ai/wiki/teleporter)           | Otherwise 1 in 10 | [^27] |
| [Mattock](https://spelunky.ai/wiki/mattock)                 | Otherwise 1 in 8  | [^28] |
| [Paste](https://spelunky.ai/wiki/paste)                     | Otherwise 1 in 8  | [^29] |
| [Spring Shoes](https://spelunky.ai/wiki/spring-shoes)       | Otherwise 1 in 8  | [^30] |
| [Spike Shoes](https://spelunky.ai/wiki/spike-shoes)         | Otherwise 1 in 8  | [^31] |
| [Compass](https://spelunky.ai/wiki/compass)                 | Otherwise 1 in 8  | [^32] |
| [Pistol](https://spelunky.ai/wiki/pistol)                   | Otherwise 1 in 8  | [^33] |
| [Machete](https://spelunky.ai/wiki/machete)                 | Otherwise 1 in 8  | [^34] |
| Bomb Box                                                    | Otherwise         | [^35] |

Unlike a shop's wares, a prize is rolled without checking what the level already has, so it can be a
second Compass or pair of Gloves. On a 7, the prize jumps 32 pixels toward the player, out of its case and
free, and a new one from the same set appears in the case, the next 7's[^36]. In the clip, the dice come up 5 and 2: the case's
Spike Shoes come out in a puff of smoke, a Bomb Box takes their place, and the player picks the shoes up
and they go on[^37][^38].

## Prices

The bet is $1,000 and $500 for each level, whatever the dice house[^39][^40]:

|     | Level 2 | Level 5 | Level 9 | Level 13 | Level 15 |
| --- | ------- | ------- | ------- | -------- | -------- |
| Bet | $2,000  | $3,500  | $5,500  | $7,500   | $8,500   |

A win above 7 pays twice the bet, so it gains the player one bet. A prize costs only the bet it's won
with: it keeps the price its item is made with, but nothing marks it for sale, and a 7 sets the price to
nothing as it frees it[^22][^41][^42][^43].

## Shopkeeper

The Shopkeeper doesn't follow the player about the shop, as he does where there are wares; he stands on
his ledge and settles the bets[^44]. What angers him in other shops angers him here ([the General
Store](https://spelunky.ai/wiki/general-store#shopkeeper) has the rules): the blocks of ice around the prize are the shop's walls, so breaking one in is
vandalism, which frees the prize with everything else[^45][^46][^47]. Two
things are the Dice House's own, both "COME BACK HERE, THIEF!"[^48]:

- **A die rolled twice.** A die that has come to rest and is thrown again before the bet is settled
  angers him as it lands. The code's comment calls it "NO CHEATING!"[^49].
- **A die out of the shop.** A die near the screen outside a shop's room angers the nearest Shopkeeper at
  once, though it has no price[^50][^51]. The check is for any shop's room, and the nearest
  Shopkeeper needn't be the Dice House's[^52][^43]. In the
  [Black Market](https://spelunky.ai/wiki/black-market), a die carried left into the next shop angers no one, and carried on out of
  that one, it angers that shop's Shopkeeper, while the Dice House's stays calm[^53].

**Clip: Cheating at the Dice House.** The player bets a third time and throws one die, which comes up 5. He picks the same die up and throws it again: as it lands, the shopkeeper shouts "Come back here, thief!", jumps down from his ledge and shoots him dead. ([video](https://spelunky.ai/wiki/media/583f7aa191eace98/clips/dice-house/cheat/clip.mp4))

In the clip, the player bets again and throws one die, which comes up 5, then picks the same die up and
throws it again. As it lands, the Shopkeeper shouts, comes down from his ledge and shoots him dead[^54].

**Clip: A die carried into the next shop.** In the Black Market, the Dice House's die is carried left through the Clothing Shop, a shop's room, so no one minds. Carried on out of it, the die angers the nearest Shopkeeper: the Clothing Shop's runs out after the player, while the Dice House's stays where he is. ([video](https://spelunky.ai/wiki/media/583f7aa191eace98/clips/quirks/market-die-angers-next-shop/clip.mp4))

In this clip, in the Black Market, the player carries a die left out of the Dice House into the Clothing
Shop, where no one minds, and on out of it: the Clothing Shop's Shopkeeper shouts and runs out after him,
and knocks him down, while the Dice House's stays on his ledge[^55].

## Stealing

The Dice House has no wares to steal, but a die carried out angers the nearest Shopkeeper as a theft
does, and marks the player a thief for the next level, where
[the General Store's](https://spelunky.ai/wiki/general-store#stealing) rules apply[^56][^57]. A thief can't bet[^58]. A prize in its case has a price, so on a thief's level,
or once the player has killed a Shopkeeper, it's freed and counted as stolen in the end-of-game statistics
as it comes on screen, as wares are[^59][^43][^60].

## Locations

A level from 2 to 15 that rolls a shop builds one of seven kinds, each as likely, so a shop is a Dice
House one time in seven (one in six on a Temple sacrifice pit level, which never has a
[Kissing Parlor](https://spelunky.ai/wiki/kissing-parlor)), in every area and on a [Yeti lair](https://spelunky.ai/wiki/yeti-lair) level too[^61][^1][^62][^63].
[The Mines](https://spelunky.ai/wiki/mines#shops) has how levels roll shops. Every [Black Market](https://spelunky.ai/wiki/black-market) has a Dice House,
the third column's third room, where the pay key bets only in that room[^6][^64].

## Trivia

- The source calls it the "Craps" shop[^2]. A new game sets a
  `global.crapsPoint` to 0 with the other globals, and nothing reads it[^65][^43].
- The prize's tile rolls a number from 1 to 6 that nothing uses before rolling the prize[^21][^43].
- The end-of-game statistics count dice games played, won and lost; a 7 counts as won[^66][^67].

## FAQ

### How does the Dice House work in Spelunky Classic?

The player pays a bet with the pay key in the shop, then throws its two dice. Once both have come to rest, the Shopkeeper adds them up: below 7 loses the bet, above 7 pays back twice the bet, and a 7 wins the prize in the shop's case.

### How much is the bet in the Dice House?

$1,000 and $500 for each level: $2,000 on level 2, up to $8,500 on level 15. There's one bet at a time.

### What do you win for rolling a 7 in the Dice House?

The prize in the case at the back of the shop, free: one of thirteen items, from a Jetpack (1 in 40) to a Bomb Box (when every other roll fails). A new prize takes its place in the case, and the bet isn't paid back.

### Can you cheat at dice in Spelunky Classic?

No. Throwing a die again once it has come to rest, before the bet is settled, angers the Shopkeeper as a theft does, and so does carrying a die out of the shop.

## See also

- **Related:** [Shopkeeper](https://spelunky.ai/wiki/shopkeeper), [General Store](https://spelunky.ai/wiki/general-store), [Kissing Parlor](https://spelunky.ai/wiki/kissing-parlor)

## References

[^1]: [`scripts/scrRoomGen.gml:173-204`](https://spelunky.ai/wiki/source/scripts/scrRoomGen#L173-L204)

[^2]: [`scripts/scrRoomGen.gml:185`](https://spelunky.ai/wiki/source/scripts/scrRoomGen#L185)

[^3]: [`scripts/scrRoomGen2.gml:171`](https://spelunky.ai/wiki/source/scripts/scrRoomGen2#L171)

[^4]: [`scripts/scrRoomGen3.gml:133`](https://spelunky.ai/wiki/source/scripts/scrRoomGen3#L133)

[^5]: [`scripts/scrRoomGen4.gml:168`](https://spelunky.ai/wiki/source/scripts/scrRoomGen4#L168)

[^6]: [`scripts/scrRoomGenMarket.gml:142-146`](https://spelunky.ai/wiki/source/scripts/scrRoomGenMarket#L142-L146)

[^7]: [`objects/oShopkeeper/step.gml:131-139`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L131-L139)

[^8]: [`scripts/scrGetName.gml:24-60`](https://spelunky.ai/wiki/source/scripts/scrGetName#L24-L60)

[^9]: [`scripts/scrRoomGen.gml:385-403`](https://spelunky.ai/wiki/source/scripts/scrRoomGen#L385-L403)

[^10]: [`scripts/scrRoomGen.gml:452-455`](https://spelunky.ai/wiki/source/scripts/scrRoomGen#L452-L455)

[^11]: [`objects/oPlayer1/step.gml:1392-1420`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1392-L1420)

[^12]: [`objects/oDice/step.gml:211-231`](https://spelunky.ai/wiki/source/objects/oDice/step#L211-L231)

[^13]: [`objects/oShopkeeper/step.gml:154-223`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L154-L223)

[^14]: [`objects/oShopkeeper/step.gml:213-220`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L213-L220)

[^15]: [`objects/oShopkeeper/step.gml:173-201`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L173-L201)

[^16]: [`objects/oShopkeeper/step.gml:202-212`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L202-L212)

[^17]: [`objects/oShopkeeper/step.gml:3-4`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L3-L4)

[^18]: [`objects/oShopkeeper/step.gml:99`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L99)

[^19]: [`objects/oShopkeeper/step.gml:156-169`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L156-L169)

[^20]: Clip dice-house/win

[^21]: [`scripts/scrRoomGen.gml:392-397`](https://spelunky.ai/wiki/source/scripts/scrRoomGen#L392-L397)

[^22]: [`scripts/scrGenerateItem.gml:47-62`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L47-L62)

[^23]: [`scripts/scrGenerateItem.gml:49`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L49)

[^24]: [`scripts/scrGenerateItem.gml:50`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L50)

[^25]: [`scripts/scrGenerateItem.gml:51`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L51)

[^26]: [`scripts/scrGenerateItem.gml:52`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L52)

[^27]: [`scripts/scrGenerateItem.gml:53`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L53)

[^28]: [`scripts/scrGenerateItem.gml:54`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L54)

[^29]: [`scripts/scrGenerateItem.gml:55`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L55)

[^30]: [`scripts/scrGenerateItem.gml:56`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L56)

[^31]: [`scripts/scrGenerateItem.gml:57`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L57)

[^32]: [`scripts/scrGenerateItem.gml:58`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L58)

[^33]: [`scripts/scrGenerateItem.gml:59`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L59)

[^34]: [`scripts/scrGenerateItem.gml:60`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L60)

[^35]: [`scripts/scrGenerateItem.gml:61`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem#L61)

[^36]: [`objects/oShopkeeper/step.gml:180-200`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L180-L200)

[^37]: Clip dice-house/seven

[^38]: Replay `fidelity/replays/shop-seed-12-dice-seven-cheat.txt`

[^39]: [`objects/oShopkeeper/create.gml:35`](https://spelunky.ai/wiki/source/objects/oShopkeeper/create#L35)

[^40]: [`objects/oPlayer1/step.gml:1399-1404`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1399-L1404)

[^41]: [`objects/oItem/create.gml:25-26`](https://spelunky.ai/wiki/source/objects/oItem/create#L25-L26)

[^42]: [`objects/oShopkeeper/step.gml:196-198`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L196-L198)

[^43]: Quirk 1 (docs/quirks.md)

[^44]: [`objects/oShopkeeper/step.gml:154-235`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L154-L235)

[^45]: [`scripts/scrRoomGen.gml:398-403`](https://spelunky.ai/wiki/source/scripts/scrRoomGen#L398-L403)

[^46]: [`objects/oSolid/destroy.gml:1-7`](https://spelunky.ai/wiki/source/objects/oSolid/destroy#L1-L7)

[^47]: [`objects/oShopkeeper/step.gml:337-348`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L337-L348)

[^48]: [`scripts/scrShopkeeperAnger.gml:7-23`](https://spelunky.ai/wiki/source/scripts/scrShopkeeperAnger#L7-L23)

[^49]: [`objects/oDice/step.gml:217-224`](https://spelunky.ai/wiki/source/objects/oDice/step#L217-L224)

[^50]: [`objects/oDice/step.gml:1-17`](https://spelunky.ai/wiki/source/objects/oDice/step#L1-L17)

[^51]: [`scripts/scrShopkeeperAnger.gml:7-8`](https://spelunky.ai/wiki/source/scripts/scrShopkeeperAnger#L7-L8)

[^52]: [`scripts/isInShop.gml:7-13`](https://spelunky.ai/wiki/source/scripts/isInShop#L7-L13)

[^53]: Replay `fidelity/replays/shop-seed-9-market-dice-carried-out.txt`

[^54]: Clip dice-house/cheat

[^55]: Clip quirks/market-die-angers-next-shop

[^56]: [`objects/oDice/step.gml:10-17`](https://spelunky.ai/wiki/source/objects/oDice/step#L10-L17)

[^57]: [`scripts/scrShopkeeperAnger.gml:21-22`](https://spelunky.ai/wiki/source/scripts/scrShopkeeperAnger#L21-L22)

[^58]: [`objects/oPlayer1/step.gml:1395-1398`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1395-L1398)

[^59]: [`objects/oItem/step.gml:8-15`](https://spelunky.ai/wiki/source/objects/oItem/step#L8-L15)

[^60]: Replay `fidelity/replays/shop-seed-35-murderer-dice-prize.txt`

[^61]: [`scripts/scrLevelGen.gml:239-297`](https://spelunky.ai/wiki/source/scripts/scrLevelGen#L239-L297)

[^62]: [`scripts/scrRoomGenYeti.gml:149-181`](https://spelunky.ai/wiki/source/scripts/scrRoomGenYeti#L149-L181)

[^63]: [`scripts/scrRoomGen4.gml:155-188`](https://spelunky.ai/wiki/source/scripts/scrRoomGen4#L155-L188)

[^64]: [`objects/oPlayer1/step.gml:1392-1393`](https://spelunky.ai/wiki/source/objects/oPlayer1/step#L1392-L1393)

[^65]: [`scripts/scrClearGlobals.gml:47`](https://spelunky.ai/wiki/source/scripts/scrClearGlobals#L47)

[^66]: [`objects/oShopkeeper/step.gml:175`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step#L175)

[^67]: [`scripts/scrWriteStats.gml:72-79`](https://spelunky.ai/wiki/source/scripts/scrWriteStats#L72-L79)

### Source code

- [`objects/oShopkeeper/step.gml`](https://spelunky.ai/wiki/source/objects/oShopkeeper/step)
- [`objects/oShopkeeper/create.gml`](https://spelunky.ai/wiki/source/objects/oShopkeeper/create)
- [`objects/oPlayer1/step.gml`](https://spelunky.ai/wiki/source/objects/oPlayer1/step)
- [`objects/oDice/step.gml`](https://spelunky.ai/wiki/source/objects/oDice/step)
- [`scripts/scrGenerateItem.gml`](https://spelunky.ai/wiki/source/scripts/scrGenerateItem)
- [`scripts/scrRoomGen.gml`](https://spelunky.ai/wiki/source/scripts/scrRoomGen)
- [`scripts/scrRoomGenMarket.gml`](https://spelunky.ai/wiki/source/scripts/scrRoomGenMarket)
