~bigbes/game-prototype-ftl

ref: edeadad75783de943359029c1a5ea67fd51d3978 game-prototype-ftl/tiles_test.go -rw-r--r-- 3.3 KiB
1b674aa5 — Eugene Blikh 6 days ago
feat(crew): restrict movement to room cell slots

Add per-room cell slots and limit crew movement to unoccupied cells.

- Add Cells field to Room and populate two slots per player room.
- Shift enemy-ship cells by the same x-offset as rooms.
- Build a cellSet lookup and gate moves on it, skipping occupied cells.
- Add cellOccupied check so two crew cannot share a slot.
- Render dim cell markers in render.go.
- Cover cellSet and occupancy with tests; tighten hit-flash test timing.
8170df95 — Eugene Blikh 30 days ago
crew-movement: walkability + BFS pathfinding with tests