e6b53e06f58ca5b53c6d81372f80e41944003025
server/vision.nim keeps one PlayerVision per player: a visibility polygon per controlled token carrying the vision flag (range = the token's vision_radius or the scene default), the explored set as the union of cellsTouched over history (only grows, cells outside the world dropped), and the fresh cells of the current mutation. The token-visibility rule of 3.1 (controlled always, otherwise inside own LOS and not gm_only) exists exactly once there. server/worldmap.nim translates the authoritative records into the inputs the pure geometry and move-rule modules take, so those modules never see a wire field.
Description
No description provided
9.2 MiB
Languages
JavaScript
38.4%
Nim
38.3%
TypeScript
20.9%
Shell
1.9%
CSS
0.5%