Commit Graph

2 Commits

Author SHA1 Message Date
cubecraft-agents[bot]
a02ab6b75f CUB-60: implement minion state machine and animation system
- Add MinionState type and MinionData model with four states (idle, walking, working, returning)
- Add MinionStateService with full state machine: spawn → walking → working → returning → idle
- Create MinionComponent with 16-bit pixel art CSS animations:
  - idle: banana-eating loop animation with gentle float
  - walking: 2s translate-right walk cycle with arm/leg swing
  - working: typing keyframe animation with laptop and progress bar
  - returning: 2s translate-left walk-back animation
- Add MinionState transition map with event-driven dispatch
- Create BreakroomPage demo with spawn/complete/error/reset controls
- Add /breakroom route for testing state transitions
- Touch-optimized: 48px min targets, responsive scaling
- Full reduced-motion accessibility support
- TypeScript strict: no any, all inputs typed
2026-04-26 03:44:56 +00:00
cubecraft-agents[bot]
f490098af6 initial commit 2026-04-25 19:02:57 +00:00