Scheduled Tournament Format
Scheduled tournaments are created by the Casino System with a specific start time and start automatically when that time arrives, regardless of player count. This format is ideal for planned events, marketing campaigns, and fixed-time competitions.Key Characteristics
Scheduled tournaments use 100% existing APIs - no new development required. All functionality is already implemented and tested.
- Pre-creation: Tournament created before players register
- Time-based Start: Tournament starts at scheduled time regardless of player count
- Standard Registration: Players register in advance using standard external APIs
- Immediate or Scheduled: Can start immediately if
startTime <= now()or be scheduled for future
Architecture Overview
Key Principle: Casino System creates tournament with specific startTime. Tournament System starts tournament automatically when scheduled time arrives.Format-Specific Features
- Pre-creation: Tournament created before players register
- Time-based Start: Tournament starts at scheduled time regardless of player count
- Standard Registration: Players register in advance using standard APIs
Tournament Flow
Format-Specific APIs
Tournament Creation
Tournament Start Logic
The Tournament System handles start logic automatically:- Immediate Start
- Scheduled Start
When
startTime <= now():- Tournament starts immediately upon creation
- Status set to
active - Game room created via Game Platform
- SQS event
tournament.startedsent - Players can register and join immediately
Player Registration Flow
Players register using the standard external API flow:1. Player Registration
2. JWT Token & Game URL
3. Game Launch
- If tournament is
scheduled: Player waits for scheduled start time - If tournament is
active: Player can join game room immediately - Game Platform: Validates JWT and connects player to tournament room
Shared Common Flows
After tournament creation and start logic, scheduled tournaments use identical flows as hop-on/off tournaments:Player Registration & Authentication
JWT generation, validation, and player session management.
Game Platform Configuration
Tournament config delivery and real-time status updates.
Real-time Gameplay & Events
Room connections, postMessage communication, SQS event reporting.
Tournament Completion
Results calculation, prize distribution, and final cleanup.
Architecture Benefits
Time-based Reliability
- Tournaments start precisely at scheduled time
- Consistent experience for planned events
- Marketing campaigns can rely on exact timing
Pre-registration Support
- Players can register before tournament starts
- Build anticipation and ensure participation
- Better capacity planning and resource allocation
Proven Infrastructure
- 100% existing APIs: Uses current scheduled tournament system
- Comprehensive Testing: All functionality already tested and proven
- Shared Functionality: All gameplay, events, and player management uses common flows
- No New Development: Ready to deploy immediately
Use Cases
Ideal for:- 🎯 Marketing Events: Promotional tournaments with specific timing
- 📅 Regular Schedules: Daily/weekly tournaments at consistent times
- 🏆 Championship Events: High-stakes tournaments requiring coordination
- 📈 Capacity Planning: Predictable load patterns for infrastructure scaling
- Daily 8 PM championships with email notifications
- Weekend special events with increased prize pools
- Seasonal tournaments aligned with game releases
- Corporate events with specific timing requirements
Next Steps
Hop-On/Off Tournaments
Learn about the player-count based tournament format for continuous availability.

