Available Game Modes
Syntax Smasher
Race against time to fix broken syntax errors in JavaScript.Difficulty: Beginner
Base XP: 100
Language: JavaScript
Base XP: 100
Language: JavaScript
Function Fury
Master higher-order functions and stubborn closures.Difficulty: Intermediate
Base XP: 150
Language: JavaScript
Base XP: 150
Language: JavaScript
CSS Combat
Master flexbox and grid in a battle arena.Difficulty: Advanced
Base XP: 200
Language: CSS
Base XP: 200
Language: CSS
Logic Labyrinth
Navigate the maze using boolean logic gates.Difficulty: Intermediate
Base XP: 175
Language: Python
Base XP: 175
Language: Python
Algo Arena
Optimize memory usage in high-stakes sorting battles.Difficulty: Expert
Base XP: 300
Language: C++
Base XP: 300
Language: C++
Syntax Smasher
Perfect for beginners learning JavaScript fundamentals
Objectives
| Objective | Type | Target |
|---|---|---|
| Survive 5 Rounds | Collection | 5 |
| Maintain 5x Streak | Streak | 5 |
| No Compilation Errors | Boolean | 1 |
Scoring
- Base XP: 100
- Streak Multiplier: Up to 2.5x
- Speed Bonus: Complete rounds faster for bonus XP
Strategy Tips
Function Fury
Intermediate JavaScript developers ready for closures and callbacks
Objectives
| Objective | Type | Target |
|---|---|---|
| Fix Syntax Errors | Collection | 1 |
| Maintain 3x Streak | Streak | 3 |
| Complete under 60s | Time | 60s |
Scoring
- Base XP: 150
- Time Bonus: Complete challenges under 60 seconds
- Streak Bonus: 1.5x multiplier at 3x streak
Code Example
Typical challenges involve fixing patterns like this:CSS Combat
Match pixel-perfect layouts using flexbox and grid in a timed arena. This mode tests your ability to translate visual designs into CSS code.Objectives
| Objective | Type | Target |
|---|---|---|
| Match Layout | Boolean | 1 |
| Perfect Alignment | Streak | 1 |
Scoring
- Base XP: 200 (highest base reward)
- Precision Bonus: Pixel-perfect matches earn bonus XP
- No penalty for retries - focus on perfection
Common Patterns
Logic Labyrinth
Python enthusiasts - navigate boolean logic gates
Objectives
| Objective | Type | Target |
|---|---|---|
| Solve Maze | Boolean | 1 |
| Optimize Path | Boolean | 1 |
Scoring
- Base XP: 175
- Optimization Bonus: Shortest path solutions earn double XP
- Time Bonus: Complete under target time
Logic Gates
Mazes include AND, OR, NOT, and XOR gates:Algo Arena
Optimize memory usage in high-stakes sorting battles. This brutal mode tests your understanding of Big O notation, memory management, and algorithm optimization.Objectives
| Objective | Type | Target |
|---|---|---|
| Pass Unit Tests | Boolean | 1 |
| O(n) Memory | Boolean | 1 |
Scoring
- Base XP: 300 (maximum base reward)
- Memory Efficiency: O(n) memory earns 2x multiplier
- Speed Bonus: O(n log n) or better time complexity
Memory Challenge
Game Stats & Progression
Your performance in each game mode is tracked in thegame_stats table:
Tracked Metrics
- Best Score - Your highest score in each mode
- Games Played - Total attempts per mode
- Last Played - Timestamp of last session
- Leaderboard Rank - Compared against all players
Pro Strategy
Start with Syntax Smasher to build confidence, then progress to Function Fury. Master these JavaScript modes before attempting CSS Combat or the expert-level challenges.
Implementation Reference
Game definitions are stored inconvex/games.ts:31-89:
All game metadata is served from the backend to ensure security and consistency. Client-side modifications are prevented.
Related Features
Boss Battles
Take on epic debugging challenges
Ghost Mode
Compete asynchronously against friends