feat(phase1.1): create hook module structure with proper exports

- Create new hook modules: useBoard, useCursor, useGameStatus
- Move/copy hook implementations to their own directories
- Create index.ts files for clean module exports
- Update all imports to use new module locations
- Rename useSnake -> useCursor for Unified API alignment
- Rename useRenderer -> useBoard for clarity
- Update main src/index.ts to export from all hook modules
- All TypeScript builds successfully
- Example app remains functional
This commit is contained in:
2025-10-30 22:16:13 +00:00
parent 2b3a55df37
commit dcaa93ea08
9 changed files with 409 additions and 9 deletions
+1
View File
@@ -0,0 +1 @@
export * from './useCursor';