🎨 Palette: Add explicit control instructions to Mario game#242
Conversation
- Added on-screen text to indicate Space or Up Arrow for jumping - Applied `pointer-events: none` to prevent the overlay from blocking interactions - Recorded UX learning in palette journal Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
💡 What: Added visible on-screen instructions ("Press Space or Up Arrow to jump") to the Mario game in
src/views/mario-game.njk.🎯 Why: Web games with custom keyboard controls suffer from poor discoverability; users don't automatically know how to interact.
📸 Before/After: See the UI screenshot verification.
♿ Accessibility/UX: Improved cognitive accessibility by explicitly stating required controls, reducing trial-and-error friction for users. Used
pointer-events: noneto ensure the new text overlay does not interfere with mouse/touch interactions on the canvas.PR created automatically by Jules for task 7414917989781973329 started by @EiJackGH