how this repo is set up

Simple now. Powerful later.

This project is pure HTML/CSS/JS today, hosted on Cloudflare Pages. When you want login, we add Pages Functions under /functions and expose routes under /api/*.

Folder layout

Pages are just folders with an index.html. Assets live in /assets. Future backend endpoints go in /functions/api.

/index.html
/games/index.html
/games/reaction/index.html
/assets/css/style.css
/assets/js/app.js
/functions/api/ping.js
/functions/api/me.js
          

Login later

When you’re ready, we can implement secure auth with:

✅ HttpOnly cookies (sessions) • ✅ rate limiting • ✅ CSRF • ✅ D1 database (optional)