> ## Documentation Index
> Fetch the complete documentation index at: https://xrypton.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Economy Games: Coinflip, Mines, Towers & More

> Wager your coins across four interactive economy games — coinflip, mines, rock paper scissors, and towers — and multiply your balance or lose it all.

XRYPTON's economy games let you put your coins on the line for a chance to multiply them. Each game has its own mechanics, risk profile, and interactive UI — from a simple heads-or-tails flip to a tense grid of hidden mines. All games support **demo mode**: pass `0` as your bet amount to play for free with no coins at stake, which is a great way to learn the mechanics before wagering real funds.

<Note>
  You can only have **one active game session** per game type at a time. Starting a new session while one is still open is not supported — finish or exit your current game first.
</Note>

***

## Coinflip

The simplest game in the lineup. Pick a side, place your bet, and let the coin decide.

**Command**

```
/eco coinflip <amount> <side>
```

* `<amount>` — The number of coins to wager (or `0` for demo mode). Accepts shorthand like `1k` or `all`.
* `<side>` — Either `heads`, `tails`, or `random`.

### How It Works

<Steps>
  <Step title="Place your bet">
    Run the command with your chosen amount and side. XRYPTON immediately deducts the wager from your wallet.
  </Step>

  <Step title="Watch the flip">
    An animated coin-flip embed appears. After a brief 2-second delay, the result is revealed.
  </Step>

  <Step title="Win or lose">
    If the coin lands on your chosen side, you win **2× your wager** back (your original stake plus an equal profit). If it doesn't match, your wager is lost.
  </Step>
</Steps>

<CardGroup cols={2}>
  <Card title="✅ Win" icon="circle-check">
    Coin matches your pick — you receive **2× your bet**. Your balance goes up by the amount you wagered.
  </Card>

  <Card title="❌ Loss" icon="circle-xmark">
    Coin doesn't match — your wagered coins are gone. Your balance reflects the deduction.
  </Card>
</CardGroup>

<Tip>
  Coinflip is the fastest game to run. Use demo mode (`/eco coinflip 0 heads`) a few times to get comfortable before putting coins on the line.
</Tip>

***

## Mines

A grid-based game of risk and reward. Click tiles to reveal safe squares, watch your multiplier grow, and cash out before you hit a mine — or lose everything.

**Command**

```
/eco mines <amount> <bombs>
```

* `<amount>` — Coins to wager (or `0` for demo mode). Accepts shorthand like `1k` or `all`.
* `<bombs>` — Number of mines hidden in the grid, between **2 and 16**.

### The Grid

The board is a **4 × 5 grid** (20 tiles total). A number of bombs equal to your chosen `<bombs>` value are hidden randomly across the tiles before the game begins. The rest are safe green squares.

### How It Works

<Steps>
  <Step title="Start the game">
    Run the command. XRYPTON deducts your wager and displays the mine board as a 20-button interactive embed.
  </Step>

  <Step title="Click tiles to reveal them">
    Tap any grey button to flip that tile. A green square means you're safe — your multiplier and projected winnings update immediately in the embed fields.
  </Step>

  <Step title="Watch your multiplier climb">
    Each safe tile you reveal increases your multiplier. The fewer safe tiles remain relative to the number of bombs, the faster the multiplier scales. More bombs = higher risk but a steeper multiplier curve.
  </Step>

  <Step title="Cash out or keep going">
    At any point after your first click, press **Cashout** to collect your current winnings and end the session. Press **Exit** only before your first click to cancel and get your wager refunded.
  </Step>

  <Step title="Avoid the mines">
    If you click a tile hiding a bomb, all mines are instantly revealed, your wager is lost, and the game ends.
  </Step>
</Steps>

<CardGroup cols={3}>
  <Card title="🟩 Safe Tile" icon="square-check">
    Increases your multiplier and running winnings total.
  </Card>

  <Card title="💣 Mine" icon="bomb">
    Instantly ends the game. Your entire wager is forfeited.
  </Card>

  <Card title="💵 Cashout" icon="hand-holding-dollar">
    Lock in your current multiplied winnings at any time after your first click.
  </Card>
</CardGroup>

<Warning>
  If the game times out (no interaction for 4 minutes) before you cash out, your original wager is **refunded** — but you won't receive any multiplied winnings. Don't walk away mid-game.
</Warning>

<Tip>
  Start with fewer bombs (e.g., 2–4) to practice building your multiplier safely. High bomb counts can yield enormous multipliers but the probability of hitting a mine on any given tile rises sharply.
</Tip>

***

## Rock Paper Scissors (RPS)

Challenge the house to a classic game of rock, paper, scissors with coins on the line.

**Command**

```
/eco rps <amount>
```

* `<amount>` — Coins to wager (or `0` for demo mode). Accepts shorthand like `1k` or `all`.

### How It Works

<Steps>
  <Step title="Start the game">
    Run the command. XRYPTON deducts your wager and presents three interactive buttons: 🪨 Rock, 📄 Paper, ✂️ Scissors.
  </Step>

  <Step title="Make your move">
    Click the button for your chosen move. The house instantly makes its own random selection, and the result is revealed.
  </Step>

  <Step title="See the outcome">
    Your choice and the house's choice are both displayed. The result is win, lose, or tie.
  </Step>
</Steps>

<Tabs>
  <Tab title="Win">
    You beat the house — you receive **1.9× your wager** back. For example, a 💵 1,000 bet returns 💵 1,900 on a win.
  </Tab>

  <Tab title="Tie">
    Both sides chose the same move — your original wager is **returned in full**. No coins gained or lost.
  </Tab>

  <Tab title="Loss">
    The house beats your move — your entire wager is forfeited.
  </Tab>
</Tabs>

<Note>
  Wins pay out at **1.9×** rather than 2× to account for a small house edge. A tie always returns your stake in full with no penalty.
</Note>

***

## Towers

A floor-climbing game where every level cleared multiplies your bet — but one wrong door ends the run.

**Command**

```
/eco towers <amount>
```

* `<amount>` — Coins to wager (or `0` for demo mode). Accepts shorthand like `1k` or `all`.

### The Tower

The tower has **5 floors**, each with **3 doors** (buttons). One door on each floor hides a bomb. You start at the bottom and work your way up by picking a door on the current floor.

### How It Works

<Steps>
  <Step title="Start your climb">
    Run the command. XRYPTON deducts your wager and shows the tower as a 5-row grid of interactive buttons — the bottom row is your first floor.
  </Step>

  <Step title="Pick a door">
    On your current floor, three grey buttons are available. Click one to reveal whether it's safe or a bomb.
  </Step>

  <Step title="Advance and multiply">
    Choose the safe door and you advance to the next floor. Your **multiplier** and **current winnings** update after every successful pick — the higher you climb, the bigger the payout.
  </Step>

  <Step title="Cash out at any time">
    After clearing at least one floor, the **Cashout** button becomes available. Press it to lock in your current multiplied winnings and end the game safely.
  </Step>

  <Step title="Reach the top or bail out">
    Climb all 5 floors to reach the maximum multiplier, or cash out whenever the risk feels too high. If you hit a bomb at any floor, all bombs on cleared and current floors are revealed and your original wager is lost.
  </Step>
</Steps>

<CardGroup cols={3}>
  <Card title="✅ Safe Door" icon="door-open">
    Advances you one floor and increases your active multiplier.
  </Card>

  <Card title="💣 Bomb Door" icon="bomb">
    Ends the game instantly. Your original wager is lost.
  </Card>

  <Card title="💵 Cashout" icon="hand-holding-dollar">
    Available after floor 1 is cleared. Pays out your current multiplied winnings.
  </Card>
</CardGroup>

<Tip>
  You can press **Exit** before making your very first pick to cancel the game and get your full wager refunded. Once you've clicked any door, the Exit button is disabled — commit to the climb or cash out.
</Tip>

<Warning>
  Like Mines, the game times out after 4 minutes of inactivity. If you haven't made your first pick yet, your wager is refunded. If you've already started climbing, the session ends with no payout — so stay attentive.
</Warning>

***

## Responsible Gaming

XRYPTON's economy games are designed for fun, but it's easy to get carried away when real coin balances are on the line.

<CardGroup cols={2}>
  <Card title="Use Demo Mode" icon="flask">
    Pass `0` as your bet in any game to play without risking coins. Use it to learn multiplier curves, test strategies, and understand each game before wagering.
  </Card>

  <Card title="Set Personal Limits" icon="shield-halved">
    Decide on a maximum amount you're comfortable wagering before you start a session — and stick to it. There's no mechanism to recover lost coins.
  </Card>

  <Card title="Cash Out Early" icon="circle-dollar-to-slot">
    In Mines and Towers, a modest early cashout is always better than losing everything chasing a higher multiplier. The house odds don't improve the longer you play.
  </Card>

  <Card title="Take Breaks" icon="clock">
    The fishing cooldown and demo mode exist to encourage measured engagement. Step away between sessions and come back fresh.
  </Card>
</CardGroup>
