feat(game): add persistent bush-wall breakthroughs

This commit is contained in:
2026-09-10 23:12:42 +03:00
parent bb5bd73ebd
commit e10ad3acb8
12 changed files with 354 additions and 39 deletions
+6 -7
View File
@@ -56,13 +56,12 @@ a maze boundary, and is recalculated on resize and rotation.
## Feedback and message rail
The browser stores the direction for each outstanding move request. Only after
a matching server `blocked` rejection does it shake the already rendered maze
in the attempted direction for at most 340 ms; it shows no blocked-move text or spike
notice. A matching `rate_limited` rejection darkens and blurs only the maze for
at most 520 ms. Each effect has one restartable timer and is cleared on pause,
result, reset, disconnect, and control reset. Reduced-motion mode uses a static
maze border cue for blocked movement instead of a shake.
The browser stores the direction for each outstanding move request. A matching
server `blocked` rejection may include only that player's approved breakthrough
stage, which bends the already rendered bush wall for at most 340 ms without
blocked-move text. Opened-passage bits in an ordinary cell projection render as
a permanent trampled bush gap. Effects have one restartable timer and clear on
pause, result, reset, disconnect, and control reset. Reduced motion is static.
All remaining Russian system messages use one `role=status` live message rail
above the application top bar. One connection-loss message has highest priority
+6 -6
View File
@@ -127,12 +127,12 @@ are not MVP requirements.
- Player zoom and pan controls are not part of the MVP.
- Use different colors plus labels, outlines, shapes, or icons to distinguish
player ownership and object types.
- A server `blocked` rejection shakes the visible maze opposite the attempted
cardinal movement for at most 340 ms, without text or spike notice. A
`rate_limited` rejection darkens and blurs only the maze for at most 520 ms,
also without text. Repeated feedback restarts one bounded effect of each type.
- Reduced-motion mode replaces the blocked shake with one static directional
border cue; rate-limit feedback remains immediate and non-animated.
- Server-approved breakthrough impacts one through four bend the visible bush
wall with four increasing restrained stages and no text or spike notice. A
fifth accepted move is reflected by a permanent textured trampled-bush gap.
The browser uses one restartable impact timer and no generated particles.
`rate_limited` still darkens and blurs only the maze for at most 520 ms.
- Reduced-motion mode uses static deformation and the same trampled-gap state.
## 8. Responsive behavior