Files
OrbitTv/docs/night-shift.md
T
pauljdandClaude Opus 5.5 0c915fc118 Nite Owl's Night Shift (0.115.0, versionCode 305): five chapters of twelve hand-made levels, all bot-checked within par
- 7x5 night sky: Owl hops, OK turns the beam piece; light the mast; clouds drift a tile a hop; moves against Owl's par, no timer, no fail
- Title, chapter select, play and level complete from Stage B frames 40-43; shared pause; Back by context
- Per-profile progress (best stars and moves per level); High Scores keep total stars; Kids-suitable
- Levels from design/night-shift/make_levels.py, checked again by a bot in NightShiftLevelsTest
- Power-ups left out for Paul's call (they need the Menu key the remote lacks)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:17:59 +00:00

5.5 KiB
Raw Blame History

Nite Owl's Night Shift (0.115.0, versionCode 305, 9 November 2026)

Branch classics-modes, on top of 0.114.0. The fourth Orbit Original, from the approved Stage B frames 40 to 43 (orbit-tv/design/arcade/stage-b/night-shift.figcraft and its PNGs). Not installed; nothing seen running.

The game

A calm puzzle for the late shift: no timer, no fail.

  • The board. A 7×5 night sky. Nite Owl hops tile to tile with the arrows, and OK turns the beam piece under him a quarter turn. The pieces are straights, corners and tees.
  • The goal. Route the lost star's light to the relay mast. The light runs from the star through every piece whose sides meet, and the pieces it reaches glow. When every mast is lit, the level's done.
  • Moves. Turns count as moves; hops don't. Owl's par is the fewest turns that light the mast, plus a little room (a little more on Gentle, one less on Tricky). Three stars on par or under, two a little over, one however long it takes.
  • Clouds (from Cloudbank on) drift one tile along their lane per hop, there and back, and block the light where they sit. Their next tiles are outlined, so a hop is never a surprise.
  • Five chapters of twelve: First Light, The Quiet Mast, Cloudbank, Northern Relay (two masts, fed by a tee) and Last Light Before Dawn.
    • Levels open one after another, and a chapter opens when the one before it is finished.
    • The first levels turn only some pieces out of place, to learn on.
  • The cast. Nite Owl and Luna in her Night Cap use their existing art, unchanged.

Screens

  • Title (40):
    • The moon, a constellation, and Nite Owl on his mast sending the star home.
    • The chapter dots and a line on how far you've got.
    • Continue (with where it goes), Chapters, How to Play, Back to Arcade.
    • There's no Mode button: Night Shift has one mode, its chapters.
  • Play (41):
    • The chapter and level, Moves and Owl's par, the stars you'd get if you finished now, and "No timer. Take your time."
    • Luna in her Night Cap keeps him company.
    • Footer: ◀▶▲▼ Hop, OK Turn the beam, Back Pause.
  • Level complete (42):
    • Waits for OK.
    • Nite Owl's line by stars ("Took the scenic route, did we?"), the stars, moves against par, and a par line.
    • Next Level (first), Replay, Chapters. Back goes to Chapters.
  • Chapters (43):
    • Five cards with each chapter's constellation, levels done and stars. Locked chapters say "Opens after Chapter n".
    • The chosen chapter's twelve levels underneath.
  • Pause: the shared pause menu, with Chapters added.
  • Back by context: in play Back pauses (nothing is ever held). On the Chapters page it goes to the title, and on Level complete to Chapters.
  • Muted indigo throughout, nothing flashes and nothing moves on its own, so Reduce motion and Reduce flashing have nothing to stop. There's no frame loop at all: the board redraws only when Owl hops or turns.

Saves and High Scores

  • Per profile, in the game's level progress: each level's best (ns.<chapter>.<level> = stars and moves; more stars, or the same stars in fewer moves).
  • "Reset level progress" clears it.
  • High Scores (Points) keep the profile's total stars, recorded with each finished level ("Ch 2 · Level 4").
  • Kids-suitable.

The levels

  • Made by design/night-shift/make_levels.py (fixed seed), which writes arcade/nightshift/NightLevels.kt:
    • It lays a path from the star to the mast, leaning towards the mast, a little longer each chapter.
    • From the Northern Relay on, a tee and a second mast.
    • Decoy pieces, more each chapter.
    • From Cloudbank on, one or two cloud lanes across the path.
    • Then every turnable piece is turned out of place.
  • It keeps a level only if:
    • its stored solution lights every mast at some cloud step;
    • the scrambled start isn't already solved.
  • Par is the turns from the start to the solution over every tile the solution lights, plus 2 to 4 by chapter.
  • NightShiftLevelsTest checks all 60 again in Kotlin:
    • Each is well formed: one star, the masts, no clouds before Cloudbank, two masts from the Northern Relay.
    • None starts solved.
    • A bot plays each through the game's own moves (hop to each piece the light needs, turn it right, hop until the clouds clear) and lights every mast within Owl's par on Gentle, Normal and Tricky.

Not in this first build: Paul's call

  • Power-ups (frame 41's Moonbeam, Sleepy Time, Star Magnet and Night Vision, "Menu: use one") are left out. The design uses the Menu key, which the Xiaomi remote doesn't seem to have; that's what broke Patience's Send home. They need another way to be chosen (the pause menu, or a long press of OK) before they go in.
  • Settings on the title is left out; the Arcade's own Settings cover difficulty and accessibility.
  • The right lid lifting on frame 42 is drawn as Nite Owl's lids part-lifted and a sideways glance. His art is unchanged, and it has no single-lid option.

Checks

  • Unit tests: 1,044 run, 24 skipped, 0 failed (NightShiftLevelsTest new, 6 tests).
  • Kids and session tests updated now that Night Shift plays: 10 Kids-suitable games, and Orbiteroids is the coming-soon example.
  • Lint: 0 errors, 87 warnings (none new).
  • Release APK: 48,121,447 bytes (+49,160 on 0.114.0).
  • TitleTextFitsTest at the largest font scale, at both 720p and 1080p (the box draws 960×540 dp for both):
    • every chapter name fits its card in at most two lines;
    • NIGHT SHIFT fits the title, with its buttons widened to 270 dp so "Continue · Ch 5 · Level 12" fits;
    • the level-complete panel (600 dp) fits its three buttons beside Nite Owl.