# Coin Flip

## Game Description

**CoinFlip** is a simple and timeless game of chance.\
Players choose between **Heads** or **Tails**, and the outcome is determined using verifiable on-chain randomness (VRF).\
Each flip carries a **1% house edge**, ensuring long-term sustainability while maintaining a near-fair experience.\
This translates to a **Return to Player (RTP)** of **99%**, meaning that on average, players receive $0.99 for every $1 wagered.

## Win Probability

In a fair coin toss, the chance of winning is **50%**.\
With the integrated 1% house edge, the effective win probability is adjusted slightly lower to maintain the casino’s advantage:

***

$$
P\_{win} = 50% - (50% \times 0.02) = 49%
$$

***

Thus, players win 49% of the time on average, ensuring consistent fairness while keeping the bankroll sustainable.

## Available Examples

| Wager | Expected Return | Win Chance | RTP |
| ----- | --------------- | ---------- | --- |
| $100  | $99.00          | 49%        | 99% |
| $50   | $49.50          | 49%        | 99% |

## Dynamic House Edge

Like all Mega Casino games, **CoinFlip** uses the **Adjustable House Edge Model**, meaning the edge shifts slightly with liquidity conditions:

| Liquidity Level | Adjusted Edge | RTP   |
| --------------- | ------------- | ----- |
| **High (+25%)** | 0.8%          | 99.2% |
| **Normal**      | 1.0%          | 99.0% |
| **Low (−25%)**  | 1.2%          | 98.8% |

CoinFlip embodies simplicity, transparency, and fairness — enhanced through **on-chain randomness** and **liquidity-aware edge adjustment**.\
Players enjoy a near-even chance to win, while the protocol maintains steady growth and stability through precise, dynamic risk management.
