Files
games/snake/store.go
Ryan Hamamura e68e4b48f5
All checks were successful
Deploy c4 / deploy (push) Successful in 45s
fix: resolve nil pubsub preventing live game updates
v.PubSub() was captured at startup before v.Start() initialized NATS,
so both stores held nil and notify() silently no-oped. Replace the
PubSub interface with a callback that evaluates v.PubSub() lazily at
call time.
2026-02-20 12:37:28 -10:00

6.5 KiB