Achievement System
Every game ships with a cryptographically-signed badge you can earn, download as PNG/SVG and share on LinkedIn. No "Verified by trust me bro" โ the signature is HMAC-SHA256 and can be checked by anyone.
๐๏ธ How it works
When you complete a game's challenge, the validation notebook computes your score and rank, then builds a payload:
{ "g": "calc-groups-cathedral", "p": "Mauro", "r": "Cathedral Builder",
"s": 1850, "t": 1780058205, "v": 1 }The payload is signed with a shared HMAC key. The badge page (/badge.html?t=โฆ) re-runs the same HMAC with the Web Crypto API and shows โ Signature verified before rendering. Anyone receiving your link can verify it without contacting any server.
๐ Badges in the catalog
Just for show โ these are the icons you can earn from each game. Greyed-out ones belong to games still in Preview Design.
๐ Ranks (example: Calc Groups Cathedral)
Each game can define its own progression. Cathedral uses five masonry-themed ranks based on your elegance score:
๐ค Sharing
Once your badge URL is generated, the badge page provides:
- โฌ๏ธ Download as PNG (LinkedIn-ready) or SVG (vector)
- ๐ Direct Share on LinkedIn / X buttons
- ๐ Copy link with the signed token embedded
- โ Anyone visiting the link sees the same "Signature verified" check