Description
Write unit tests for useSnakeGame, useTicker, and useInput.
Goal: testing refs, timers, and event logic.
Test: hooks pass predictable deterministic cases.
Scope / Affected Area
No response
Proposed Approach
No response
Screenshots / Logs (optional)
No response
Additional Context
No response
Checklist
Description
Write unit tests for useSnakeGame, useTicker, and useInput.
Goal: testing refs, timers, and event logic.
Test: hooks pass predictable deterministic cases.
Scope / Affected Area
No response
Proposed Approach
No response
Screenshots / Logs (optional)
No response
Additional Context
No response
Checklist