-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestHacktoberfest2025Hacktoberfest2025
Description
Currently, players are not aware of the available keyboard shortcuts in the game. There's no way to discover keyboard controls without reading the source code or trying different keys randomly.
💡 Proposed Solution
Add a keyboard shortcuts help overlay that can be toggled with a key press (recommended: H key).
Features to Implement:
-
Keyboard Shortcuts Overlay
- Display all available keyboard shortcuts
- Toggle on/off with
Hkey - Modern, user-friendly UI that matches game aesthetics
- Responsive design for mobile and desktop
-
Additional Keyboard Shortcuts
- Add
Mkey to toggle mute/unmute sound - Add
Hkey to toggle shortcuts help overlay
- Add
Current Keyboard Controls:
Space- Drop/stack blocksR- Restart game
Proposed Keyboard Controls:
Space- Drop/stack blocksR- Restart gameM- Mute/unmute ⭐ NEWH- Toggle shortcuts help ⭐ NEW
🎨 UI/UX Design
- Overlay should match the existing game UI theme
- Centered modal with gradient background
- List shortcuts with keyboard key badges (kbd elements)
- Close button (×) or ESC key support
- Smooth fade-in/fade-out animation
📱 Responsive Design
- Mobile-friendly with appropriate font sizes
- Touch-friendly close button
- Proper spacing for readability
🧪 Testing Checklist
- Overlay opens/closes with
Hkey -
Mkey toggles mute/unmute - Overlay displays all shortcuts correctly
- Close button works
- Works on mobile devices
- Theme compatibility (if applicable)
- No conflicts with existing keyboard shortcuts
🚀 Benefits
- Better User Experience: Players can easily discover keyboard shortcuts
- Accessibility: Improves game accessibility with documented controls
- Professional Polish: Adds a professional touch to the game
- Reduced Support: Fewer questions about keyboard controls
📝 Implementation Notes
- Keep the overlay hidden by default
- Use similar styling to the existing results overlay
- Ensure the overlay doesn't interfere with gameplay
- Consider adding the shortcuts to the README as well
🔗 Related
- This feature improves discoverability of existing functionality
- Enhances the overall user experience without changing core gameplay
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestHacktoberfest2025Hacktoberfest2025