How shivamshuroy448/checkmatelab works
CheckmateLab is a browser-based chess analysis and training dashboard. A player makes or imports a position, receives engine evaluation and a recommended move, and can review openings or solve tactical puzzles. The graph also preserves documented game review, account/leaderboard, and companion-assistant capabilities. Source excerpts show the app’s core imports and the engine’s external evaluation requests; some documented features and auxiliary import paths lack sampled wiring, so those links are dashed and marked unverified.
Main entry points: app.js App controller · stockfishEngine.js Position evaluator · boardRenderer.js Interactive board · parser.js Chess.com board parser
Components 22
Player experience
- App controller
src/app.js - Interactive board
src/boardRenderer.js - Chess game state
src/app.js - Game and position import
src/app.js - Screen capture
src/screenCaptureEngine.js - Board image analysis
src/imageVisionEngine.js - Chess sound effects
src/soundEffects.js
Position analysis
- Position evaluator
src/stockfishEngine.js - Lichess cloud evaluation
- Stockfish Online API
- ECO opening detector
src/openings.js - Gemini coach and vision
src/geminiAiEngine.js
Training and review
- Game review and accuracy
src/app.js - Tactical puzzle catalog
src/puzzles.js - Account and ELO profile
src/app.js - Live leaderboard
src/app.js
Chess-site companion
- Chess.com board parser
content/parser.js - Companion overlay
public/chess-ai-helper.user.js
Other components
- Player
- Chess-site user
- Google Identity Services
- Leaderboard service
Connections 21
- Player → App controller: uses
README.md - App controller → Chess game state: controls
src/app.js - App controller → Interactive board: renders
src/app.js - Interactive board → App controller: reports clicks
src/boardRenderer.js - App controller → Game and position import: loads positions
src/app.js - Screen capture → Game and position import: supplies FEN
- Board image analysis → Game and position import: supplies FEN
- App controller → Position evaluator: requests evaluation
src/app.js - Position evaluator → Lichess cloud evaluation: queries
src/stockfishEngine.js - Position evaluator → Stockfish Online API: falls back to
src/stockfishEngine.js - App controller → ECO opening detector: identifies openings
src/app.js - App controller → Tactical puzzle catalog: loads puzzles
src/app.js - App controller → Game review and accuracy: provides review
README.md - App controller → Account and ELO profile: supports sign-in
README.md - Account and ELO profile → Google Identity Services: authenticates with
README.md - App controller → Live leaderboard: shows rankings
README.md - Live leaderboard → Leaderboard service: gets live rankings
README.md - App controller → Chess sound effects: uses effects
src/app.js - Chess-site user → Chess.com board parser: plays on site
- Chess.com board parser → Companion overlay: provides position
- Companion overlay → Lichess cloud evaluation: requests evaluation
public/chess-ai-helper.user.js