How rogue-1120/hide-seek-ultra works
Night Ops is a live, location-based hide-and-seek game: players join a coded lobby, take roles, then use a map and live location updates through timed rounds until the seeker catches everyone or time expires. The README documents a React frontend, a throttled geolocation hook, and a Motoko Internet Computer contract, along with lobby, boundary, visibility, radar, and catch rules. The supplied tree contains no inspectable source files, so component paths are null and the diagram reflects documented behavior rather than verified module-level wiring.
Components 19
Game frontend
- Game interface
- App navigation
- Live game map
- Location hook
Lobby setup
- Coded lobby
- Player colors
- Role selection
- RPS tie-break
Round mechanics
- 500m boundary
- Round phases
- Visibility rules
- Seeker radar
- Catch check
- Round outcome
Game backend
- Game contract
- Game state
- Distance rules
Other components
- Players
- Internet Computer
Connections 19
- Players → Game interface: use
- Game interface → App navigation: navigate
- Game interface → Coded lobby: join or host
- Players → Player colors: choose color
- Players → Role selection: select role
- Role selection → RPS tie-break: break ties
- Game interface → Location hook: request location
- Location hook → Game contract: send throttled updates
- Game contract → Internet Computer: run on
- Game contract → Game state: manage state
- Game contract → Distance rules: calculate distances
- Game contract → 500m boundary: enforce radius
- Game contract → Round phases: manage timers
- Game contract → Visibility rules: apply visibility
- Game contract → Seeker radar: reveal every 3 minutes
- Game contract → Catch check: check 3m range
- Game contract → Round outcome: decide winner
- Game interface → Live game map: display game
- Live game map → Players: show visible locations