Commit Graph
3 Commits
Author SHA1 Message Date
pastilhas c8218a9f16 feat(phase3): create gameInfo.ts with complete game documentation
- Create comprehensive gameInfo structure following vim-maze pattern
- Document controls: hjkl navigation, space/q/p game controls
- Document rules: movement, collisions, game flow, elements
- Document scoring: level-based points, speed progression
- Document configuration: all GameOptions with defaults and examples
- Add tips and objective for players
- Export gameInfo from main index.ts
2025-10-31 00:35:06 +00:00
pastilhas dcaa93ea08 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
2025-10-30 22:16:13 +00:00
pastilhas 892e85ecf5 board consumed in example 2025-10-16 12:25:52 +01:00