โ† Back to Features
๐Ÿ†
FEATURE

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.

๐ŸŽ๏ธ
Fabric Racing
Speed Demon
๐Ÿ›๏ธ
Cathedral
Cathedral Builder
๐Ÿง™โ€โ™‚๏ธ
Monster Breach
Archmage
๐Ÿ™๏ธ
City Builder
Grid Keeper
๐Ÿ•ต๏ธ
Ontology Detective
Commissioner
๐Ÿ•น๏ธ
Retro Arcade
High Score

๐Ÿ“ˆ Ranks (example: Calc Groups Cathedral)

Each game can define its own progression. Cathedral uses five masonry-themed ranks based on your elegance score:

๐Ÿชจ Stonemason ยท 0+ ๐Ÿ”จ Apprentice ยท 300+ โš’๏ธ Journeyman ยท 700+ ๐Ÿ“ Architect ยท 1100+ ๐Ÿ›๏ธ Cathedral Builder ยท 1500+

๐Ÿ“ค Sharing

Once your badge URL is generated, the badge page provides:

โ†’ Earn your first badge