You are browsing as a guest. Sign up (or log in) to start making projects!

1h 46m 13s logged

Hey Hack Clubbers!

I’m building zkFog, a website that lets you play fog-of-war chess without a trusted server.

In fog chess you only see the squares your pieces can move to, and normally a server hides the rest of the board and everyone trusts it.

I’m replacing that server with zero-knowledge proofs so that each player’s view is secret to only them, not even the server, and cryptography proves that the moves are legal.

~2 hours in: built a 6x6 Los Alamos chess UI to keep implementation simple for now. Using Bun + Vite + Biome, and chessgroundx for the UI. I also added a bit of CSS to emulate the snappiness of chess.com’s UI.

I’ve also coded from scratch the engine that determines move legality (the dots that show up when you drag a piece).

0
28

Comments 0

No comments yet. Be the first!