Paketrouter 2.0: rails first, then the network (PR03–PR06) #12

Merged
oliver.maklott merged 5 commits from pr03-paketrouter-welten into dev 2026-11-02 23:06:21 +01:00

Paketrouter 2.0 after the user's feedback of 2 Nov (plan PR03–PR06): one clear metaphor, from rails to the network.

  • PR03 logic and levels: N1–N3 bahn, N4 netz with bridge (action translate, the tables stay), N5/A/E netz; routers with one neighbour have filled rows and refuse set; stars per level {arrived, noLoss, best}; games 2.0.0.
  • PR04 view: platform buttons (aria-pressed, row groups) instead of selects; stations/devices as their own shapes; drawing first, controls under it; host.reveal on start; trains/packets move along the lines (≈0.9 s per hop, reduced motion: stops on the way), „Überspringen“; star checklist with conditions; translation panel and host.scene("netz") with a new network picture (light/dark, QUELLEN.md).
  • PR05: „Leben“ → Kohle/Schritte everywhere; lesson-2 plenum builds the reason (circle → full line → rule, TTL 64 in real networks).
  • PR06: independent review; fixed: focus after a run/translation/between rows, rule on screen, coal/steps on each sprite, Takt label, siding for lost ones, waiting ones dimmed, drawing fits 1024×768, no live log, missed stars named, wording.

Needs SDK/platform 0.52 (aivopod-app D465). The pack CI uses the latest final CLI; until CLI 0.39.0 is final it builds with 0.38.

  • npm test 107/107 locally (SDK 0.52.0-rc.1)
  • preview on frontend 0.52.0-rc.1: N1, N2 trap, N4 before/after, A1 pause, E1 dark, 1024×768, 390 px, reduced motion; keyboard focus

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4gXwbBLgtNrgWx258J

Paketrouter 2.0 after the user's feedback of 2 Nov (plan PR03–PR06): one clear metaphor, from rails to the network. - **PR03 logic and levels:** N1–N3 `bahn`, N4 `netz` with `bridge` (action `translate`, the tables stay), N5/A/E `netz`; routers with one neighbour have filled rows and refuse `set`; stars per level `{arrived, noLoss, best}`; games 2.0.0. - **PR04 view:** platform buttons (aria-pressed, row groups) instead of selects; stations/devices as their own shapes; drawing first, controls under it; `host.reveal` on start; trains/packets move along the lines (≈0.9 s per hop, reduced motion: stops on the way), „Überspringen“; star checklist with conditions; translation panel and `host.scene("netz")` with a new network picture (light/dark, QUELLEN.md). - **PR05:** „Leben“ → Kohle/Schritte everywhere; lesson-2 plenum builds the reason (circle → full line → rule, TTL 64 in real networks). - **PR06:** independent review; fixed: focus after a run/translation/between rows, rule on screen, coal/steps on each sprite, Takt label, siding for lost ones, waiting ones dimmed, drawing fits 1024×768, no live log, missed stars named, wording. Needs SDK/platform 0.52 (aivopod-app D465). The pack CI uses the latest final CLI; until CLI 0.39.0 is final it builds with 0.38. - [x] `npm test` 107/107 locally (SDK 0.52.0-rc.1) - [x] preview on frontend 0.52.0-rc.1: N1, N2 trap, N4 before/after, A1 pause, E1 dark, 1024×768, 390 px, reduced motion; keyboard focus 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4gXwbBLgtNrgWx258J
Levels N1–N3 speak of the railway (Weichen, Gleise, Bahnhöfe, Züge, Kohle);
N4 starts there and turns into the network with the new action `translate`
(the tables stay, the picture behind the game changes to the scene `netz`);
from N5 on routers, lines, devices, packets and steps. „Leben“ is gone.

Routers with one neighbour have their rows filled and refuse changes.
Stars are kept per level as {arrived, noLoss, best} and listed with their
conditions from the start; the total is shown apart from the level.

The view: buttons (host.ui, aria-pressed) instead of selects, stations and
devices drawn as their own shapes beside the routers, the drawing first with
the controls under it, host.reveal on start, every hop a smooth movement
(three stops with reduced motion), „Überspringen“. Games version 2.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4gXwbBLgtNrgWx258J
„Leben“ is gone from print sheets, class flows, the Adress-Rollenspiel and
the README: a packet may make only so many steps (TTL in the real
internet, usually 64; 8 in the game so one can see it). The plenum of
lesson 2 now builds the reason in three steps: two tables pointing at
each other, a thousand packets in a circle, then the rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4gXwbBLgtNrgWx258J
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4gXwbBLgtNrgWx258J
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4gXwbBLgtNrgWx258J
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4gXwbBLgtNrgWx258J
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-challenges/Pakete-und-Protokolle!12
No description provided.