feat: hide timer bar for train variant only

Replace artificial timer bar with natural pressure decay system
for steam train journey mode while preserving timer for other modes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock
2025-09-12 15:12:36 -05:00
parent 5c7aa830cf
commit 84334f9d5a

View File

@@ -10828,6 +10828,16 @@ def generate_web_flashcards(numbers, config, output_path):
document.getElementById('complement-game').style.display = 'block';
document.getElementById('complement-header').style.display = 'flex';
// Hide timer bar for train variant - use pressure system instead
const timerSection = document.querySelector('.timer-section');
if (timerSection) {{
if (this.style === 'sprint') {{
timerSection.style.display = 'none';
}} else {{
timerSection.style.display = 'block';
}}
}}
// Configure visualization based on game style
const raceTrackSection = document.querySelector('.race-track-section');
const raceTrack = document.querySelector('.race-track');