C
CoderspaE
/Documentation

Quick Start

Get up and running with CoderspaE in under 5 minutes

Step 1: Create Account#

Sign up for a free CoderspaE account to get started with competitive programming.

  1. Visit coderspae.com/signup
  2. Choose your preferred signup method (Google, GitHub, or Email)
  3. Complete your profile with programming languages you know
  4. Verify your email address

Step 2: Your First Battle#

Jump into the practice arena to familiarize yourself with the platform.

Practice Mode

  • • Solo coding challenges
  • • No time pressure
  • • Instant feedback
  • • Difficulty levels: Easy → Hard

Live Battles

  • • Real-time 1v1 competitions
  • • Ranked matchmaking
  • • Live leaderboards
  • • ELO rating system

Step 3: Using the Code Editor#

Our Monaco-based editor provides a VS Code-like experience with advanced features.

Editor Features:

Coding
  • • Syntax highlighting
  • • Auto-completion
  • • Error detection
  • • Code formatting
Testing
  • • Run custom test cases
  • • Debug with console output
  • • Performance metrics
  • • Memory usage tracking

Keyboard Shortcuts

Run CodeCtrl + Enter
Submit SolutionCtrl + Shift + Enter
Format CodeAlt + Shift + F
Toggle ConsoleCtrl + `

Step 4: SDK Integration (Optional)#

Integrate CoderspaE into your own applications with our JavaScript SDK.

# Install the SDK
npm install @coderspae/sdk
import { CoderspaE } from '@coderspae/sdk';

// Initialize client
const client = new CoderspaE({
  apiKey: 'your-api-key', // Get from dashboard
  environment: 'production'
});

// Create a battle
const battle = await client.battles.create({
  type: 'practice',
  difficulty: 'medium',
  language: 'javascript'
});

// Submit solution
const result = await battle.submit({
  code: 'function solve(n) { return n * 2; }'
});

console.log('Status:', result.status);
console.log('Score:', result.score);

What's Next?#