App Behavior Summary
The application is a "Gold Rush" game where players must "Click coins before they vanish!" within a 15-second timer.
- Game interface shows gold coin counter, best round score, and rounds played
- "Hall of Gold" section for displaying scores after playing
- "Round Complete!" message with coins collected and "Play Again" option
- Basic game structure with scoring display, timer, and restart capability
The game appears to be a simple clicking/timing game focused on collecting virtual gold coins.
Improvement Prompt
Enhance the "Gold Rush" game with the following features:
1. **Interactive Coin Elements**: Create visually appealing gold coin elements that appear randomly on screen and disappear after a set time.
2. **Click Mechanics**: Connect mouse/touch events to coin elements, incrementing the score when clicked and playing a satisfying "collect" animation.
3. **Dynamic Timer**: Implement a 15-second countdown timer that starts when the game begins and ends the round automatically.
4. **Hall of Gold Implementation**: Use localStorage to persistently store and display top scores with player names or timestamps.
5. **Visual Feedback**: Add particle effects when coins are collected, screen shake for high-value collections, and smooth transitions between rounds.
6. **Difficulty Progression**: Increase coin spawn rate and decrease visibility time as the player achieves higher scores.
7. **Accessibility**: Ensure keyboard navigation support (e.g., Enter to start, Space to pause) and screen reader compatibility for score announcements.
8. **Mobile Optimization**: Implement touch-friendly coin targets with appropriate hitboxes and gesture support.
Keep the game lightweight with vanilla JavaScript and CSS animations.