Skip to content

Phones: turn-sideways prompt, reachable Run and Done, fuller block picker - #33

Merged
maidulcu merged 1 commit into
mainfrom
claude/great-davinci-5u45cq
Nov 10, 2026
Merged

maidulcu merged 1 commit into
mainfrom
claude/great-davinci-5u45cq

Conversation

@maidulcu

Copy link
Copy Markdown
Contributor

Why

Design audit of the game in a real browser at five sizes (iPhone SE and iPhone landscape, iPhone portrait, iPad, desktop). Desktop and iPad are in good shape; phones had these problems.

What

  • Phones held upright: the HUD didn't fit (hotbar cut off at both edges, hearts and XP bar over the joystick, four quest cards covering the top). Play now pauses and shows "Turn your phone sideways", then carries on by itself once the phone is turned. Turning upright mid-game pauses the same way, so Adventure monsters can't attack behind a prompt. The menus still work upright.
  • Bit's panel on landscape phones: Run started below the fold, under a code editor that drags blocks instead of scrolling the panel. Run / Stop are now pinned to the bottom, the editor is sized to the screen, and the panel gets the always-visible ✕ like the other pop-ups.
  • Pop-ups on short screens: Done is pinned to the bottom of the panel. The quest book scrolls once instead of a list scrolling inside a scrolling panel.
  • Block picker on short screens: tabs in one sideways-scrolling row and no subtitle, so two full rows of blocks show instead of one.
  • Touch tablets: the quest tracker shows two quests instead of four.
  • Grown-up gate: always-visible ✕, and the text no longer says monsters are "coming soon".
  • sw.js v21.

Desktop and tablet layouts are unchanged (the short-screen rules only apply under 520px tall).

Verified

  • New smoke check: upright pauses and asks to turn sideways, sideways carries on.
  • node tests/smoke.mjs on Node 22: all 31 checks pass.
  • Re-shot every screen on iPhone SE landscape and iPhone portrait after the change.

Generated by Claude Code

…cker

From the design audit (phones held sideways and upright):
- Held upright, the HUD didn't fit (hotbar cut off, hearts over the joystick).
  Play now pauses and asks to turn the phone sideways, and carries on by itself
  once it's turned; turning upright mid-game pauses the same way
- Bit's panel: Run / Stop pinned to the bottom with the editor sized to the
  screen (Run used to start below the fold, under an editor that drags blocks
  instead of scrolling), and an always-visible close button
- Pop-ups: Done pinned to the bottom of the panel; the quest book scrolls once
  instead of a list scrolling inside a scrolling panel
- Block picker: tabs in one sideways-scrolling row and no subtitle, so two full
  rows of blocks show instead of one
- Touch tablets: the quest tracker shows two quests, not four
- Grown-up gate: always-visible close button, and it no longer says monsters
  are coming soon
- Smoke test: upright pauses and asks, sideways carries on; sw.js v21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012T3WxfAesenfyvWRXYdNKy
@maidulcu
maidulcu marked this pull request as ready for review November 10, 2026 07:02
@maidulcu
maidulcu merged commit c9a5501 into main Nov 10, 2026
1 check failed
@maidulcu
maidulcu deleted the claude/great-davinci-5u45cq branch November 10, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants