Skip to content

Privacy Policy, Terms of Use, and a grown-up step at sign-up - #36

Merged
maidulcu merged 1 commit into
mainfrom
feature/legal-pages
Nov 10, 2026
Merged

maidulcu merged 1 commit into
mainfrom
feature/legal-pages

Conversation

@maidulcu

Copy link
Copy Markdown
Contributor

What's new

  • 🛡️ Privacy Policy (privacy.html) and 📜 Terms of Use (terms.html). Both are in plain language and start with a short "for kids" version. They name Dynamic Web Lab FZE LLC (Sharjah Publishing City Free Zone, License No. 4426361.01) and the contact info@dynamicweblab.com, and use UAE / Sharjah law.
    • What we keep: a private username, a password hash, 30-day login sessions and the consent record.
    • What we don't: no email, real name, birthday, location, ads or tracking.
    • Also covered: how Play Together works, the security measures, the service providers (Cloudflare, hosting, Microsoft Azure backups, GitHub), the children's rules, and how to delete your account.
  • Sign-up now has three steps:
    1. Birth year. It's used on the device only, to decide whether a grown-up is needed, and is never sent.
    2. Agreement: a tick box to agree to the Terms and Privacy Policy, with links.
    3. Grown-up step for players who may be under 13: a parent or guardian tick box plus a quick times-table check.
  • Server: registration requires agreement to the current version (2026-11-10), and a grown-up for under-13s. It records terms_version, agreed_at and grownup_confirmed, and the database columns are added automatically.
  • Links to both pages in the menu and on the account screen. Both pages work offline and are included in the deploy.

Notes

  • Not legal advice. Please have a lawyer review the pages before the public launch.
  • The grown-up step is a speed bump, not legally "verifiable parental consent". If a lawyer asks for that, the next step is an optional parent email check (listed in ROADMAP).
  • The privacy page says backups are kept up to 30 days. Local copies are deleted after 7 days; please confirm the Azure copies are deleted within 30 days.

Tests

  • Smoke test passes locally. It signs up through the menu with the new fields, checks that the server refuses sign-ups without agreement and refuses under-13s without a grown-up, and checks that both pages are served.
  • Live checks on the hosted site:
    • Refused: no agreement, an old Terms version, and an under-13 player without a grown-up.
    • Accepted: an adult, and a child with a grown-up. The database recorded version 2026-11-10 and the grown-up flag correctly.
  • Pages look right at phone width in a real browser.

🤖 Generated with Claude Code

…n-up

- privacy.html and terms.html (with legal.css): plain language with a short
  kids' version first. They name Dynamic Web Lab FZE LLC and the contact
  address, list exactly what is kept (private username, password hash,
  30-day sessions, consent record), what isn't, the service providers,
  children's rules, deleting your account, and UAE / Sharjah law
- Sign-up asks for a birth year (used on the device only, never sent),
  a tick box to agree to the Terms and Privacy Policy, and for players
  who may be under 13 a grown-up step (parent/guardian tick box + a quick
  times-table check)
- Server: register requires agreement to the current version (2026-11-10)
  and a grown-up for under-13s; it records terms_version, agreed_at and
  grownup_confirmed (Postgres columns added automatically)
- Links to both pages in the menu and on the account screen; cached for
  offline; included in the deploy; sw.js v24
- Smoke test: sign-up through the menu with the new fields, the server's
  sign-up rules, and that both pages are served

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maidulcu
maidulcu merged commit c636c1a into main Nov 10, 2026
1 check passed
@maidulcu
maidulcu deleted the feature/legal-pages branch November 10, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants