mirror of
https://github.com/Dasemu/web-imposter-game.git
synced 2026-11-26 07:16:24 +00:00
7a08b897994764af1c2e56f47dfab0dbfc8d004e
Add root CLAUDE.md, docs/ (game-rules.md, release.md), LESSONS.md and .env.example; trim README.md to a landing page linking to docs/. No linter, test runner or formatter is configured for this static HTML/CSS/JS project, so no .claude/settings.json hooks or CI workflows were added: there is nothing to run. CI (asset versioning + Android APK build/release) already exists in .gitea/workflows and .github/workflows and is documented in docs/release.md as-is, since there is no development branch to drive the standard version.yml flow. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Impostor Game (offline)
What is it?
Role-based impostor-style game for mobile, 100% in the browser with no backend. Uses localStorage so a reload doesn't lose the match. Features impostor-specific words for each civilian word to make the game more challenging! 22 word-pool categories are available, and you can select several at once.
Structure
www/index.html: main UI.www/styles.css: mobile-first, no-scroll optimized styles.www/script.js: game logic (roles, timers, voting, tiebreaks, word pools with impostor variants).www/word-pools/: 22 word pools in.txt+manifest.json.android/: Capacitor-generated Android project.
See docs/game-rules.md for the full rules and word-pool format, and docs/release.md for how builds and releases work.
How to run (offline)
Use any static file server so fetch can read the .txt files (needed if opening via file://). Example with Python:
git clone https://git.dariosevilla.es/dasemu/web-imposter-game
cd web-imposter-game
python -m http.server 8000
Open in browser: http://localhost:8000
For Android, see docs/release.md.
Description
Browser-based impostor-style party game for mobile with no backend, using localStorage to preserve matches
367 KiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
52.7%
CSS
39.6%
HTML
5.7%
Java
1%
Shell
0.9%
Other
0.1%