- Implement screen lock for iOS/Android (Wake Lock API + video workaround)
- Fix curtain reveal animation to prevent visual confusion
- Add audio alarm when timer ends for game and deliberation phases
- Improve overall UI/UX with scroll enhancements and mobile optimizations
- Hide language toggle button when game is in progress
- Prevents language changes mid-game that could cause confusion
- Language button only visible in welcome and setup screens
- Auto-restores when returning to menu via exit button
- Add exit game button in top-left corner (door icon)
- Button only visible during active game phases (not in welcome/setup)
- Confirmation dialog prevents accidental exits
- Clears localStorage state and returns to welcome screen
- Fully responsive with mobile-optimized styling
- Bilingual support with Spanish/English confirmation messages
- Implement comprehensive i18n system with Spanish and English translations
- Add automatic browser language detection with localStorage persistence
- Add language toggle button to switch between Spanish and English
- Create English word pools (Animals & Nature, Everyday Objects)
- Add language filtering system to show only pools matching current language
- Update all code comments and documentation to English
- Fix mobile layout issues (scroll, button sizing, responsive design)
- Add lang field to all word pools in manifest.json for proper filtering
- Replace tap/click with swipe-up gesture for role reveal
- Add gravity effect: curtain falls back when released
- Support both touch (mobile) and mouse (desktop) events
- Real-time visual feedback while dragging
- Update UI text: "Mantén levantada la cortina para ver tu rol"
- Add grab/grabbing cursor for better UX
This creates a more secure and immersive reveal experience that
prevents accidental spoilers.
Features:
- Impostor-specific words: Each civilian word now has a related impostor word
- 22 word pools total (2 local offline, 20 remote)
- Multi-pool selection: Combine multiple categories simultaneously
- Descriptive category names based on content analysis
Word pools added:
- Local: Animales y Naturaleza (88), Objetos Cotidianos (99)
- Remote: Marcas y Empresas, Profesiones, Comida y Bebidas, Lugares del Mundo,
Deportes, Películas y Series, Escuela, Tecnología, Vehículos, Instrumentos,
Videojuegos, Personajes (Anime, Disney, Ficción), Artistas Latinos,
Marcas de Lujo, Cuerpo Humano, Playa y Verano, Amor y Romance, Navidad
UI improvements:
- Mobile-first: No scrolling on main setup screen
- Compact layout: Reduced padding, margins, and font sizes
- Hidden scrollbar: Pool selector with gradient fade effect
- Responsive grid: 2-column pool buttons with smooth touch scrolling
- Updated labels: Shortened for better mobile fit
Technical changes:
- New word format: civilian_word|impostor_word in .txt files
- Updated manifest.json with all 22 pools
- Enhanced pickWords() to merge multiple selected pools
- Improved caching system for remote pools
- Cross-browser scrollbar hiding
Documentation:
- Updated README.md with all 22 pools and new features
- Added CHANGELOG.md with detailed changes
- Documented impostor word format and usage
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>