Skip to main content

🪙 Coin Flip

Coin Flip is EZFlip's flagship game — a classic head-to-head duel where you challenge other players to a 50/50 coin flip showdown.

Overview

AspectDetails
Game TypePlayer vs Player (PvP)
Odds50/50
House Edge4% (taken from winner)
Min Bet0.01 SOL
Max BetNo limit
StatusLive

How to Play

Creating a Game

  1. Navigate to Coin Flip from the sidebar or homepage
  2. Select your bet amount using the input field
  3. Choose your side: Green (Heads) or Blue (Tails)
  4. Click "Create Game" to create your flip
  5. Wait for an opponent to join

Joining a Game

  1. Browse the list of available games
  2. Find a game with a bet amount you're comfortable with
  3. Click "Join" — you'll automatically take the opposite side
  4. The flip happens immediately!

Game Flow

1. Player A creates a game (e.g., 1 SOL on Green)

2. Player B joins (automatically takes Blue)

3. Coin flip animation plays

4. Winner receives the pot minus house fee

Understanding the Interface

Game List

The main game list shows all available and recent games:

  • Available Games: Games waiting for opponents (you can join these)
  • In Progress: Games currently being played
  • Completed: Recent finished games

Your Games

Toggle to see only games you've created or participated in.

Bet Amount

  • Use the input field for custom amounts
  • Quick-select buttons for common bet sizes (0.1, 0.5, 1, 5 SOL, etc.)
  • Balance display shows your available funds

Winnings Calculation

The winner takes the entire pot minus the house edge:

Winnings = (Your Bet + Opponent's Bet) × (1 - House Edge)
Winnings = (Your Bet + Opponent's Bet) × 0.96

Example:

  • You bet 1 SOL on Green
  • Opponent bets 1 SOL on Blue
  • Total pot: 2 SOL
  • Winner receives: 2 × 0.96 = 1.92 SOL
  • Net profit: 0.92 SOL

Provably Fair

Every Coin Flip uses Random.org for external, verifiable randomness:

How It Works

  1. Ticket Request: When a game is created, we request a ticket ID from Random.org
  2. Signed String: Random.org generates a cryptographically signed random string
  3. Winner Selection: The signed string determines the winner through our algorithm
  4. Verification: Random.org's signature can be independently verified

Why Random.org?

  • External Randomness: Random numbers come from a trusted third party, not our servers
  • Cryptographic Signatures: Every random value is signed and verifiable
  • Audit Trail: Random.org maintains records for independent auditing
  • Industry Standard: Used by lotteries, scientific research, and gaming worldwide

Learn more about Provably Fair →

Verification

After a game:

  1. Click on the completed game
  2. View the game details including the signed string
  3. The Random.org ticket and signature are recorded
  4. Verify using the formula:
    // Winner selection from Random.org signed string
    const hash = sha256(signedString);
    const randomValue = parseInt(hash.substring(0, 16), 16);
    const winner = randomValue % totalWeight;

Strategies & Tips

For Beginners
  1. Start Small: Get comfortable with the game before betting large amounts
  2. Watch First: Observe a few games to understand the flow
  3. Manage Bankroll: Never bet more than 5-10% of your balance on a single flip

General Tips

  • No Strategy Beats 50/50: Each flip is independent — past results don't affect future outcomes
  • House Edge Matters: Over time, the 4% house edge means the house has an advantage
  • Play for Fun: Coin Flip is designed for entertainment, not guaranteed profits
  • Set Limits: Decide on a budget before you start playing

Game Rules

  1. Matching Bets: When joining a game, you bet the same amount as the creator
  2. Automatic Side Selection: Joining a game automatically places you on the opposite side
  3. No Cancellation: Once a game is created, it cannot be cancelled (it stays open until joined)
  4. Instant Settlement: Winnings are credited immediately after the flip

Frequently Asked Questions

Can I cancel a game I created?

Games cannot be cancelled once created. They remain available until another player joins.

What happens if no one joins my game?

Your game remains open indefinitely until someone joins. You can create multiple games if desired.

Is there a maximum bet?

There's no hard maximum, but very large bets may take longer to find opponents.

Can I play against friends?

Yes! Share the direct link to your game with friends so they can join your specific flip.

Why did I lose when I had a "winning streak"?

Each coin flip is independent. Previous results have no effect on future outcomes — this is known as the "gambler's fallacy."


Quick Stats

MetricValue
Win Probability50%
Expected Return96% (due to 4% house edge)
House Edge4%
VarianceLow (simple 50/50)

Ready to flip? Head to ezflip.gg/coinflip and start playing! 🪙