r/webdev • u/Domachi321 • 3h ago
Showoff Saturday [Showoff Saturday] I built a chess trainer where you can train your chess visualization
I built Mind Gambit, a free chess (visualization) trainer: mind-gambit.com
My original idea was when seeing grandmasters play without a board. So i was thinking to myself, how can you progress with chess using chess visualization. Basically the app takes the board away a step at a time.
Classic is a normal board, Figureless draws every piece as the same shape, and Blind hides the pieces once the game starts.
Some parts that were fun to build:
- Stockfish runs as WebAssembly in a Web Worker, so playing the computer never touches my server (i am also a student so the funds are questionable).
- Practice and the Computer play as a guest with the API down. The FastAPI backend handles accounts, sync, the puzzle decks and rated scoring.
- The 8-bit look: square corners, hard pixel shadows, a pixel font for headings.
Not so fun parts:
- Voice moves in Blind: tap the mic, say "knight f3", confirm, and speech recognition in the browser plays it (this is work in progress cause like i have limited funds to actually run the speech recognizer and to optimize it)
- Home screen (i tried a lot of different looks and i am not happy with this one as well; this and other spacing around the website is my main concern to fix)
Stack: React 19, TypeScript, Vite, Zustand, chess.js, FastAPI, PostgreSQL.
One question: on the first screen; is it clear what the website is about?
Thank you for checking it out!:)