Duel Games
Duel games are 1v1 competitive matches that offer a unique gaming experience with HOME/AWAY player roles.
Overview
Duel games feature:
- 1v1 competitive matches
- HOME/AWAY player structure
- Automatic drawing on acceptance
- Free game creation
- Special UI treatment
Creating a Duel
1. HOME Player
- Navigate to "Create Duel"
- Set entry fee
- Configure game parameters
- Send challenge
2. AWAY Player
- Receive challenge notification
- Review duel details
- Accept challenge
- Enter entry fee
3. Game Parameters
{
duel_player1_id: string; // HOME player
duel_player2_id: string; // AWAY player
duel_entry_fee: number; // Entry fee per player
duel_accepted: boolean; // Challenge accepted
currency_code: string; // Game currency
}
Game Flow
1. Challenge Creation
- HOME player initiates
- Sets entry fee
- Defines parameters
- Sends challenge
2. Challenge Acceptance
- AWAY player notified
- Reviews details
- Accepts challenge
- Enters entry fee
3. Automatic Drawing
- System verifies players
- Random.org integration
- Instant winner selection
- Result announcement
4. Prize Distribution
- Winner receives prize
- Platform fees processed
- Transaction recorded
- Status updated
Game States
Pending
- Duel created
- Waiting for acceptance
- Entry fee set
- Parameters defined
Accepted
- Challenge accepted
- Entry fees paid
- Ready for drawing
- Awaiting completion
Completed
- Winner selected
- Prize distributed
- Results recorded
- Status updated
UI Features
Duel Card
- HOME vs AWAY display
- Entry fee information
- Status indicators
- Action buttons
Game Display
- Special duel layout
- Player information
- Status updates
- Result announcement
Prize Structure
Prize Pool
prize_pool = (entry_fee * 2) - platform_fees
Fee Structure
- Platform fee
- Transaction processing fee
- Currency conversion fee (if applicable)
Best Practices
For Players
- Review duel details carefully
- Verify entry fees
- Monitor game status
- Check results
For Hosts
- Set appropriate entry fees
- Monitor duel status
- Review results
- Handle disputes
For Admins
- Monitor duel system
- Review transactions
- Handle disputes
- Maintain fairness
Common Questions
What happens if a player doesn't accept?
- Challenge expires
- Entry fee refunded
- Game canceled
How are draws verified?
- Random.org integration
- Public verification links
- Complete audit trail
- Transparent process
Can players rematch?
- Yes, create new duel
- Same or different entry fee
- New random draw
- Independent game