Commit Graph

8 Commits

Author SHA1 Message Date
andy fc29bc204c fix: give player entities an appearance component for avatar mode rendering
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 20:21:05 -05:00
andy 8fee2faf1e feat: add Socket.io server with state broadcasting and player input handling
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 19:13:07 -05:00
andy ca05d36bc0 feat: add game loop with NPC spawning and system execution
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:53:19 -05:00
andy a8e18b9535 feat: add random appearance generator for NPC spawning
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:38:30 -05:00
andy 83660609fc feat: implement NPC systems (needs decay, brain, movement)
Add three ECS systems for NPC simulation:
- needsDecaySystem: decrements hunger/energy each tick, clamped at 0
- npcBrainSystem: goal selection based on need thresholds with pathfinding
- movementSystem: advances entities along computed paths

Includes 8 passing tests covering decay, goal prioritization, and movement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:19:07 -05:00
andy 30ea2f42c2 feat: add GameMap and A* pathfinding with tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:13:31 -05:00
andy 733d1eb795 feat: implement lightweight ECS core with tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:12:48 -05:00
andy 39c19568c1 feat: scaffold monorepo with shared, server, and client packages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:09:07 -05:00