Commit Graph
5 Commits
Author SHA1 Message Date
pastilhas 0dc4ecde72 feat: implement falling letters spawning from top
- Letters spawn at random horizontal positions every 1 second
- Letters fall at 100px/second from top to bottom
- Random A-Z letters rendered in white monospace font
- Fix game loop to start properly when startGame called
- Remove letters that exit bottom of screen
2025-11-03 22:01:40 +00:00
pastilhas dce96b8453 feat: implement canvas-based rendering with geometric spaceship
- Replace DOM grid with HTML5 canvas (800x600)
- Draw spaceship as geometric shapes (triangle + window + flames)
- Green body, yellow window, orange flame trails
- Smooth pixel-based rendering instead of DOM elements
2025-11-03 21:53:42 +00:00
pastilhas fb79aa0229 refactor: simplify example app by moving renderBoard call into useGame
- Remove useMounted and manual renderBoard call from example App
- Call renderBoard from useGame useEffect on initialization
- Follow vim-maze pattern for cleaner example app
2025-11-03 21:46:42 +00:00
pastilhas c036dc372d feat: implement game board rendering and spaceship player control
- Create 10x20 game board grid with retro styling
- Render spaceship emoji at player position (bottom center)
- Implement cursor movement with hjkl (left/right only)
- Add moveToStart (0) and moveToEnd ($) anchor motions
- Re-render board when cursor position changes
- Board displays dark grid with highlighted player row
2025-11-03 21:41:26 +00:00
pastilhas 80f7aa3f8a chore: initialize typing-chud project with Unified API structure
- Copy vim-snake structure stripped of game-specific logic
- Remove finalScore calculation (raw data only)
- Setup example app with keybinding state management
- Empty board renders and waits for game logic
2025-11-03 21:36:09 +00:00