Commit graph

7 commits

Author SHA1 Message Date
VIART Mathieu
a2b304e24a Minor bug corrected - Language in Reverse mode not sync. - Improved compatibility with mobile. 2026-03-13 11:18:48 +00:00
VIART Mathieu
8a54aeadc5 Fixed minor issues with 2026-03-03 16:49:39 +00:00
VIART Mathieu
516af8b23f Fixed minor issues with 2026-03-03 16:49:35 +00:00
VIART Mathieu
3f3fd3a48c Fix bugs and display in iOS standalone mode. 2026-03-03 14:58:09 +00:00
Mathieu VIART
d2e648c72e Adding standalone mode for iOS device. 2026-03-02 18:25:13 +00:00
Mathieu VIART
1ffeeab8c8 Add Sport Enjoyer and Europe presets plus UI improvements
- New Sport Enjoyer preset with rugby, football, and basketball categories
- New Europe preset with auto-built country lists
- Define SPORT_CAT_IDS constant for sport preset
- Fix preset generation with auto-build from database
- Improve mobile UI: tooltip overflow, button interactions, reverse mode consistency
- Refactor tooltip logic: consolidated show/hide, fixed event handling
- Harmonize reverse mode styling with rounded buttons and question mark
- Fix translation key presetIslands in preset grid
- Ensure helper functions defined before use in applyPreset
- Remove duplicates from auto-generated category lists
2026-03-01 23:56:45 +00:00
Joshua Hirsig
ea561cd0bd Modularize index.html into separate CSS/JS files
Split the monolithic 5510-line index.html into 14 separate files:
- css/styles.css (1085 lines) - all styling
- js/translations.js - i18n (FR/EN/UA/DE)
- js/data.js - categories, presets, fallback data
- js/utils.js - shuffle, seed encoding/decoding
- js/seed.js - seed generation algorithms
- js/ribbon.js - country/category ribbon selectors
- js/setup.js - custom panel, mode selection, presets
- js/game.js - core game loop, state, timer
- js/game-end.js - end screen, Hungarian algorithm, odometer
- js/daily.js - daily mode, seeded RNG, leaderboard
- js/hints.js - tooltips, country descriptions
- js/ui-effects.js - animations, ripple, particles
- js/mobile.js - responsive ribbon tabs

Also allow .docx/.xlsx in .gitignore (used as dev resources).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 19:53:23 +01:00