1
0
Fork 0
mirror of https://github.com/imjasonh/terminus synced 2026-07-06 22:12:35 +00:00
terminus/go.mod
Jason Hall b1694154b7 Add NPC system with wandering AI and sprite rendering
- Add NPC data structure with random walk movement and collision
detection
- Implement NPC manager in GameServer with thread-safe access and
spawning
- Add blue half-filled circle sprites for NPCs with proper depth testing

- Update renderer to support NPC sprite type with medium size and
visibility
- Integrate NPCs into multiplayer system - all players see shared NPCs
- Spawn 3 NPCs in small maps, 5 NPCs in large maps based on map
dimensions
- Update module path to github.com/imjasonh/terminus
- NPCs move at 1.5 units/sec with direction changes every 2-4 seconds
- Add proper Z-buffer testing and sprite sorting for NPCs

Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-24 09:26:55 -04:00

16 lines
359 B
Modula-2

module github.com/imjasonh/terminus
go 1.25.1
require (
github.com/chainguard-dev/clog v1.7.0
github.com/gliderlabs/ssh v0.3.8
github.com/google/uuid v1.6.0
golang.org/x/crypto v0.31.0
)
require (
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be // indirect
golang.org/x/sys v0.36.0 // indirect
golang.org/x/term v0.35.0 // indirect
)