Survivor's Gambit: Endless Chess

Game Overview

An innovative evolution of chess where you command and expand a white army to survive endless waves of enemies on an infinite board. Start with a compact 3×3 formation and grow via captures and smart resource management.

Core Features

Camera & Viewport

Enhanced Starting Formation

Pawn Bishop Pawn Queen King Rook Pawn Knight Pawn

Visual Enhancements

Dynamic Army Management

Advanced Shop System

Enemy AI, Waves, and Systems

Game Mechanics Deep Dive

Turn Structure

  1. Player Phase: select and move each piece once
  2. Validation: chess rules enforced; invalid moves blocked
  3. Enemy Phase: AI executes optimal moves
  4. Wave Spawning: new enemies every 3 rounds

Enemy Wave Progression

Victory & Scoring

Controls & Interface

Desktop

Mobile/Touch

Sidebar

Shop

Strategic Gameplay

Early Game

Mid Game

Advanced

Technical Architecture

Core Tech
  • HTML5 Canvas
  • Vanilla JavaScript
  • Modular design
  • Performance optimizations
Key Systems
  • Game state management
  • Event handling
  • AI engine
  • Rendering pipeline
  • Memory management

File Structure

Getting Started

  1. Open index.html in a modern browser
  2. Click a piece to see green valid moves
  3. Click a highlighted square to move
  4. Move all pieces, then End Turn (or Space)
  5. Observe enemy moves and plan ahead
  6. Defeat enemies to earn points, spend in shop
  7. Survive as long as possible!
Pro tips: study piece limits, use Undo to experiment, watch wave patterns, balance offense/defense, and manage points for strategic King purchases.

Achievements & Scoring

Future Roadmap

Development Notes

Command your forces, expand your empire, and survive the endless siege! ⚔️👑