1
0
Fork 0
mirror of https://github.com/imjasonh/terminus synced 2026-07-06 22:12:35 +00:00
Commit graph

13 commits

Author SHA1 Message Date
Jason Hall
1c99cfb663 update example.png
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-24 09:37:13 -04:00
Jason Hall
fbd09a4448 update claude.md
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-24 09:32:41 -04:00
Jason Hall
c6509acf63 update readme
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-24 09:29:27 -04:00
Jason Hall
6b7b4d36ab missed npc.go
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-24 09:27:16 -04:00
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
Jason Hall
bda3f258bd Implement multiplayer player sprites and persistent SSH host keys
- Add Z-buffer depth testing system for proper sprite rendering
  - Implement multiplayer player visibility with green @ sprites
  - Add sprite rendering system supporting both projectiles and players
  - Fix sprite coordinate transformation and positioning accuracy
  - Make player sprites large and wide for better visibility (75%
  width-to-height ratio)
  - Add persistent SSH host key generation and loading to avoid
  regeneration
  - Update renderer to accept and display other connected players
  - Add thread-safe player list access for multiplayer sprite rendering
  - Ignore generated host key files in .gitignore

Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-24 09:14:23 -04:00
Jason Hall
5112cb1f5b set up pre-commit
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-24 08:31:40 -04:00
Jason Hall
fe3aaff79a implement SSH server, fix lint findings
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-24 08:22:19 -04:00
Jason Hall
3f187ef201 add screenshot
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-23 21:49:51 -04:00
Jason Hall
802a6e0fbc add readme and license
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-23 21:39:14 -04:00
Jason Hall
af59dd0b25 improve stuff, add projectiles
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-23 21:37:49 -04:00
Jason Hall
7cd0ad34b3 3d stuff
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-23 21:13:50 -04:00
Jason Hall
71f0463b73 initial commit
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-23 20:52:35 -04:00