Creating a New Game
Games are the core entity in GZCTF, representing individual CTF competitions or practice events.Navigate to Game Management
Access the admin panel and go to Games section. Click the Create Game button.
Configure Basic Information
Game Configuration Options
Access Control
Control who can participate in your game:Hide the game from public listings. Useful for private or upcoming competitions.
Require teams to enter an invitation code to join. Maximum 32 characters.
Automatically accept team registrations without admin approval
Team Configuration
Maximum team size. Set to
0 for unlimited team members.Container Settings
Maximum number of simultaneous container instances per team. Prevents resource exhaustion.
Set container limits based on your infrastructure capacity. Each container consumes CPU, memory, and network resources.
Scoring Configuration
Blood Bonus System
Reward teams who solve challenges first:Points distributed to first three teams solving each challenge:
- 1st Blood: 50% of bonus value
- 2nd Blood: 30% of bonus value
- 3rd Blood: 20% of bonus value
Practice Mode
Enable practice mode to keep the game accessible after it ends. Players can continue solving challenges without affecting rankings.
Practice Mode Benefits
- Learning opportunity for late participants
- Challenge archive for training
- No impact on original competition results
Writeup Management
Requiring Writeups
Require teams to submit writeups after the competition
Submission deadline for writeups (typically 1-2 weeks after game ends)
Additional instructions or requirements for writeup submissions
Writeup Submission Format
Writeup Submission Format
Teams can submit writeups in PDF or Markdown format. Admins can:
- View all submitted writeups from the admin panel
- Download all writeups as a bulk archive
- Review writeup quality before making them public
Divisions
Divisions allow you to separate teams into different competition tracks (e.g., university students vs. professionals).Each division maintains separate scoreboards, allowing fair competition within similar skill levels.
Game Poster
Customize your game’s visual appearance:Game Notices
Communicate with participants during the competition:Notice Types
- Manual Notices: Custom announcements from admins
- System Notices: Automatic notifications (new challenges, hints)
System notices are automatically generated when you:
- Enable a new challenge during active competition
- Update challenge hints
API Reference
Key endpoints for game management:POST /api/edit/games
POST /api/edit/games
Create a new game. See GameInfoModel for request schema.
PUT /api/edit/games/{id}
PUT /api/edit/games/{id}
Update game settings. Changes apply immediately.
DELETE /api/edit/games/{id}
DELETE /api/edit/games/{id}
Permanently delete a game and all associated data (challenges, submissions, instances).
POST /api/edit/games/{id}/export
POST /api/edit/games/{id}/export
Export game as ZIP archive including all challenges, divisions, and attachments. Perfect for backups or sharing game templates.
POST /api/edit/games/import
POST /api/edit/games/import
Import a previously exported game package.
Best Practices
Test Before Launch
Create a test game with practice mode enabled to verify:
- Challenge functionality
- Scoring calculations
- Container deployments
Set Clear Rules
Include in game content:
- Prohibited activities
- Flag submission format
- Scoring methodology
- Support contact information
Monitor Resources
Review container limits based on:
- Expected participant count
- Infrastructure capacity
- Challenge resource requirements
Plan Communications
Prepare notices for:
- Game start announcement
- Scheduled maintenance
- Time warnings (1 hour, 30 min before end)
Common Issues
Game not visible to users
Game not visible to users
Check:
- Hidden flag is disabled
- Start time is in the past
- Users have required invitation code
Teams can't register
Teams can't register
Verify:
- Team size doesn’t exceed
TeamMemberCountLimit AcceptWithoutReviewis enabled or admin approves manually- Users are authenticated
Scoreboard not updating
Scoreboard not updating
Try:
- Flush scoreboard cache:
POST /api/edit/games/{id}/scoreboard/flush - Verify challenges have valid flags
- Check submission logs for errors
Next Steps
Challenge Management
Add challenges to your game
Team Management
Manage team registrations