Commit Graph

3 Commits

Author SHA1 Message Date
cubecraft-agents[bot]
e177cc7758 CUB-61: add BreakroomSceneComponent with 16-bit office layout
- Created BreakroomSceneComponent with CSS Grid layout
- Left side: dev breakroom + 3 desks
- Right side: business breakroom + 3 desks (mirrored)
- Center divider with neon glow effect
- Static background SVG with desks, couches, TVs, banana bowls
- Integration with MinionComponent from CUB-60
- Minions positioned at desks or breakroom based on state
- Updated BreakroomPageComponent to use scene layout
- Collapsible controls panel for demo/testing
- Touch-optimized with 48px minimum targets
- Responsive breakpoints for tablet and mobile
- Accessibility: reduced motion, high contrast support
2026-04-26 03:59:39 +00:00
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