Skip to content

Diishhaa/ChessLeak

Repository files navigation

ChessLeak ♟️🔍

ChessLeak is a premium, client-side Chess Analysis & Leak Detection web application designed to help chess players identify and fix recurring weaknesses in their games. By scanning games or parsing custom PGN (Portable Game Notation) files, it pinpoints exactly where you lose material, panic under time pressure, or deviate from optimal opening play.

Designed with a high-fidelity, glassmorphic dark interface, ChessLeak offers a seamless offline analysis dashboard and an interactive "Antidote Trainer" to practice your critical positions.


✨ Features

  • 📊 Leak Score Dashboard: Get an instant "Leak Rating" based on overall blunders, time management, and tactical slip-ups.
  • ⏱️ Time Management Heatmap: Visualize how your move quality degrades as the clock ticks down, identifying your "Panic Zones".
  • 📖 Repertoire Auditor: Analyze opening performance, showing exact moves where you lose the advantage or fall into common traps.
  • 🧩 Interactive Leak Trainer: Load your own blunders onto an interactive chessboard and find the "Antidote Move" (the best continuation) to rebuild muscle memory.
  • ⚡ 100% Offline & Client-Side: No servers, no sign-ups. Your PGNs and usernames are processed entirely within the browser.

🚀 Running Locally

Since ChessLeak is a pure client-side application built with modern HTML5, CSS3, and Vanilla JavaScript, running it is simple:

  1. Double-click index.html to open it in your browser, or run a simple local HTTP server:
    # Using Python
    python3 -m http.server 8000
    
    # Using Node.js
    npx serve .
  2. Open http://localhost:8000 in your web browser.

🛠️ Tech Stack & Design

  • Structure: Semantic HTML5
  • Styling: Vanilla CSS3 (Custom properties, grid, flexbox, glassmorphic surfaces, keyframe animations)
  • Logic: Pure modern JavaScript (ES6+), custom PGN parser, and lightweight chess state representation.
  • Aesthetic: Slate Dark Mode with Emerald (Success) and Rose (Warning/Leak) highlights, responsive design across desktop and mobile.

🤝 Contributing

ChessLeak is open-source. For version control:

  • To push to a remote origin repository, set up your credentials and run:
    git add .
    git commit -m "feat: implement premium ChessLeak dashboard and interactive trainer"
    git push origin main

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors