DEV Community

Cover image for I built a portfolio where you race my times in 4 daily puzzles
Udit Sen
Udit Sen

Posted on

I built a portfolio where you race my times in 4 daily puzzles

My new portfolio has a small daily arcade: Minesweeper, a 6×6 Sudoku, Quick Math and Code Review (spot the bug in three short snippets). Everyone gets the same puzzles each day, and I play them first, so my real time is the one to beat.

A few things I enjoyed building:

Times you can't fake. The puzzles are public, so the server doesn't trust the browser. You get a signed token when you start; when you finish, the server replays your moves with the same game logic and measures the time itself.
No-guess boards. Minesweeper and Sudoku boards are only kept if a solver can finish them by logic alone.
A 7 KB starfield. The background was 241 KB of three.js; it's now a few KB of hand-written WebGL2.
No cookies, and every game works with the keyboard.

Today's puzzles: https://aedit.me/arcade
How it's built: https://aedit.me/projects/aedit-me

I'd love feedback, and your times! 😄

Top comments (0)