Elegy: a role-playing game's world, and a protected rulebook
Elegy is a post-apocalyptic science-fantasy role-playing game I'm writing. The site has to draw people into its world while keeping the rulebook for players only. The game is being written and playtested.
- Project
- Personal
- Year
- 2026
- Role
- Everything: writing, design, development, hosting
- Stack
- Next.js, React, Motion, PostgreSQL

The challenge
A showcase with a strong atmosphere that makes people want in, without slowing the first paint.
A players-only area with accounts, and a guarantee that no rulebook page ends up in Google or in an AI answer.
What I built
- A veil between pages
- A light transition covers the screen for 280 ms, then lifts. It is skipped when visitors ask for reduced motion.
- The mist
- Two blurred layers drift slowly in the background, echoing the game's Mist.
- A fast title
- The title reveal is pure CSS, so it no longer waits on a JavaScript library to appear.
- A registry of public pages
- One list decides what can be indexed. The sitemap and llms.txt are generated from it, so a protected page cannot leak into them by mistake.
- A players area
- Accounts, a PostgreSQL database, and only a handful of approved rulebook excerpts shown publicly.
How I test
- A script checks that every public page has its own share image.
- Another checks that no unapproved rulebook excerpt leaves the players area.