Urgent.News

What's breaking now, across thousands of outlets.

Tech

I built a zero-backend chess audit tool using Stockfish WASM and client-side processing

Hey dev.to community! 👋 I wanted to share a browser-based tool I recently built: Chess Blunder Heatmap. Instead of focusing on single-game move-by-move engine analysis, the app aggregates a player’s game history to generate a macro-level heatmap of weak board squares and a phase breakdown (opening, middlegame, endgame). 🛠️ The Tech Stack & Architecture Frontend: Clean client-side JavaScript…

Hey dev.to community! I'm excited to share a browser-based tool I recently created called Chess Blunder Heatmap. This application doesn't focus on analyzing individual game moves, but rather aggregates a player's game history to create a broad overview of weak board squares and a breakdown of game phases (opening, middlegame, and endgame).

The tech stack for this project includes clean client-side JavaScript hosted on Vercel for the frontend, while the Stockfish WASM engine runs directly in the browser for the engine component. Interestingly, there's no backend involved, as all processing takes place locally on the user's client-side.

The reason for utilizing WebAssembly and client-side processing is to eliminate server costs altogether, as the engine evaluations are offloaded to the user's device. Additionally, this approach enhances privacy and provides a seamless user experience, as users only need to enter their Chess.com username and run the audit without creating an account or logging in.

The app offers several features, including a visual board heatmap that highlights the exact squares where blunders occur over time. It also provides phase performance metrics for opening, middlegame, and endgame phases. Users can even conduct instant tests using famous profiles, such as testing Hikaru to uncover a GM's blind spots.

You can check out the live tool at https://chess-blunder-heatmap.vercel.app/. I'm eager to hear your thoughts and feedback regarding performance, WASM execution limits, or any suggestions for improving the UI/UX.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Make an order-dependent test reproducible before handing it to a coding agent

This tutorial was drafted with AI assistance. Its small JavaScript fixture was executed locally; it is not a production incident report.

  • Reduce issue to two individual tests: warming service and verifying empty fixture
  • Save tests in JavaScript file and execute with Node.js
  • Run tests in warm-cold and cold-warm orders to detect state leakage

Stopping a Failing Project Meant Writing Off Two Years of Our Work

Three years ago we began building a customer portal for our contract warehousing clients. Like most of our development work, the time my team and our contractors spent on it was capitalised.

  • Team abandoned portal project, writing off £1.4M capitalized costs
  • Finance director questioned impact of writing off capitalized costs
  • Revised approach set stop criteria, reduced costly terminations

Govt to Fix Textile Exports

The federal government has formed separate committees to address key issues facing Pakistan’s textile export industry and directed them to … Read More The post Govt to Fix Textile Exports appeared…

More from Wednesday 14 October →