Skip to main content

MOON or DOOM

๐Ÿ›ธ MOON or DOOM

MOON or DOOM is a thrilling entrant in YOLO Gamesโ€™ expanding suite of games.

The premise is simple: players guess whether the price of ETH or BTC is going to increase or decrease within a fixed period.

Think itโ€™s going up? Select MOON. Down? Youโ€™ll want to hit DOOM.

If youโ€™ve guessed correctly at the end of the round, you win!

Play MOON or DOOM

โš™๏ธ How Does It Work?โ€‹

First off, players select their preferred market: ETHUSD or BTCUSD. During the roundโ€™s entry phase, users can choose between two options:

  • If they believe the price will increase within the period, theyโ€™ll select MOON
  • If they believe, instead, that itโ€™ll decrease within the period, theyโ€™ll select DOOM

Next, YOLO Games calls the on-chain oracle to lock in the price โ€” and, once this is set, the game begins!

After the set period, YOLO Games again calls the oracle to get the close price. Finally the contract determines the winners and losers by comparing this value against the start price:

  • MOON positions expire in-the-money when the close price exceeds the start price
  • DOOM positions expire in-the-money when the start price exceeds the close price

โ›“๏ธ What Network Is MOON or DOOM On?โ€‹

Like all our games, MOON or DOOM is playable on Blast.

๐Ÿ’ฑ Does YOLO Games Charge a Fee?โ€‹

Yes โ€” winners pay a 1% protocol fee, of which a portion is later paid out in player rewards.

๐Ÿ‘“ About Results Discrepanciesโ€‹

When a round ends, you might notice that the price shown differs from the final one seen while the round was live. Indeed, you might even see a DOOM result flip to a MOON one (or vice versa).

This is down to the on-chain oracle that we query for the final price. Thereโ€™s a 30-second break between rounds, but the oracle refreshes every 20 seconds. As a result, itโ€™s possible that the oracle sends an update while the transaction to kick off the next round begins.

##ย ๐ŸŸฐ What Happens If The Open and Close Price Are the Same?

It's incredibly unlikely โ€” but it can happen. In this case, both sides (MOON and DOOM) lose.

โ˜๏ธ Which Oracle Does MOON or DOOM Use?โ€‹

MOON or DOOM uses Pyth's price feeds to source the latest price data.

๐Ÿฅถ MOON or DOOM Appears Frozen, What Should I Do?โ€‹

It happens โ€” fortunately, it's an easy fix. If you're on Chrome, you'll want to hit F12 to open the Google Chrome Console. Click the Application tab, and locate the Storage category to the right. Under Local Storage, simply right-click the site and hit Clear. Reload the page, and you should be good to go!