(Adaptive Loop) Prepare for Pass 2
This commit is contained in:
35 files changed
+124
-7117
No files matched your search
+26
-1
@@ -95,6 +95,31 @@ This ownership rule must materially change scenario solutions. The counterfactua
|
||||
|
||||
Actions in terminal states are rejected without changing domain state.
|
||||
|
||||
### Board layout (rendering)
|
||||
|
||||
Render the board as three **interlocking hexagonal rings**, never as a network of
|
||||
connected spheres or a numbered wiring diagram. Each loop is a regular
|
||||
six-sided hexagon (pointy-top), drawn as a stroked polygon with a distinct
|
||||
per-loop color (A, B, C). The three rings are arranged in a symmetric trefoil —
|
||||
their centers at the corners of an equilateral triangle — so each pair overlaps
|
||||
and the rings read as interlocked; at each of the six ring crossings apply a
|
||||
consistent over/under weave so no ring outline is broken.
|
||||
|
||||
Chambers are circular nodes placed **on the rings at the hexagon vertices**, in
|
||||
each loop's clockwise cyclic order (Loop A: 0→1→2→3→4→5; Loop B: 2→3→6→7→8→9;
|
||||
Loop C: 4→5→10→11→8→9). A shared chamber belongs to two rings; render it **once**,
|
||||
positioned at the overlap of its two loops, and route both ring outlines through
|
||||
that node so the shared slot is a single visible chamber. Label each chamber with
|
||||
its slot index and mark shared chambers with the loops that own them. A reference
|
||||
coordinate construction (centers, radius, per-slot coordinates) and an ASCII map
|
||||
are provided in `docs/board-layout.md`; the implementer may nudge coordinates for
|
||||
legibility as long as each loop remains a clear hexagon, shared chambers render
|
||||
once at the overlaps, and the cyclic vertex order above is preserved.
|
||||
|
||||
Rotation moves payloads along the chosen loop's cyclic vertex order; channel-flow
|
||||
arrows are drawn along the owner loop's edges in its current direction. The board
|
||||
is one SVG that scales to the viewport.
|
||||
|
||||
## 5. Domain model
|
||||
|
||||
Use serializable plain data. Keep UI animation, hover, focus, wall-clock time, and ephemeral notifications outside domain state.
|
||||
@@ -463,7 +488,7 @@ Narrow viewport:
|
||||
|
||||
### Input
|
||||
|
||||
- Pointer/touch: select loop and direction, preview, then commit.
|
||||
- Pointer/touch: select loop and direction, preview, then commit. Selecting a rotation (focus/hover/tap) shows the preview and **enables Commit**; the selection **persists** until the player commits, selects a different rotation, or cancels (Escape). Never disable Commit merely because the pointer leaves the rotation control or focus moves to the Commit button — that makes the enabled-while-hovered button grey out the moment the player goes to press it.
|
||||
- Keyboard: focusable controls for each loop direction; Enter/Space commits; Escape cancels preview.
|
||||
- Visible focus on every actionable control.
|
||||
- No hover-only information.
|
||||
|
||||
Reference in new issue
Block a user