ProjectsMinigames
Minigames
Twelve minigames in the browser, including variants of Snake, Tetris (“Blockris”) and 2048, with a global leaderboard. Works on desktop and on smartphones.


The server computes the score
The game logic lives in a shared package that runs both in the browser and on the server. The client only sends its inputs. The server replays the run from the seed and computes the score itself.
An invented score cannot get onto the leaderboard this way. On top of that, rate limits apply per hashed IP.
- Browser sends only the inputs
- Server replays the run from the seed
- Server computes the score itself
- Leaderboard takes the result, with a rate limit per hashed IP
Blockris
The Tetris variant: fill rows and clear them. Next to the board are the next piece, level and rows, on the right the leaderboard for the game.

Technology
- Frontend
-
- Vite
- React
- TypeScript
- Backend
-
- Fastify
- node:sqlite
- Operations
-
- Docker
- Caddy