undef-engine 2026-01-31
Timer refactor, game board updates, and Undef Dice hooks and stores
134 files · 4,263+ · 611-

Timer component refactor

1 file changed
  • Timer.tsx Significantly refactored countdown logic and display
  • Significantly refactored Timer component with improved countdown logic and display decouple behavioral
    1 file
    • Timer.tsx

Game board updates across all games

14 files changed
  • BattleshipBoard.tsx Updated Battleship board
  • BluffaloBoard.tsx Updated Bluffalo board
  • CawBoard.tsx Updated CAW board
  • CodebreakersBoard.tsx Updated Codebreakers board
  • DebateClubBoard.tsx Updated Debate Club board
  • HiveMindBoard.tsx Updated Hive Mind board
  • HotPotatoHeistBoard.tsx Updated Hot Potato Heist board
  • LiarsHandBoard.tsx Updated Liar's Hand board
  • SickDayBoard.tsx Updated Sick Day board
  • TerriblePsychiatristBoard.tsx Updated Terrible Psychiatrist board
  • PDQBoard.tsx Updated PDQ board
  • OutOfSpecBoard.tsx Updated Out of Spec board
  • DialInBoard.tsx Updated Dial In board
  • DixitBoard.tsx Updated Dixit board
  • Updated Battleship, Bluffalo, CAW, Codebreakers, Debate Club, and Hive Mind game boards decouple internal
    6 files
    • BattleshipBoard.tsx
    • BluffaloBoard.tsx
    • CawBoard.tsx
    • CodebreakersBoard.tsx
    • DebateClubBoard.tsx
    • HiveMindBoard.tsx
  • Updated Hot Potato Heist, Liar’s Hand, Peer Review, Sick Day, and Terrible Psychiatrist boards decouple internal
    4 files
    • HotPotatoHeistBoard.tsx
    • LiarsHandBoard.tsx
    • SickDayBoard.tsx
    • TerriblePsychiatristBoard.tsx

Admin and shared component updates

9 files changed
  • AdminDashboard.tsx Updated admin dashboard
  • AdminSessionDetail.tsx Updated admin session detail
  • SessionDebugView.tsx Updated session debug view
  • Card.tsx Updated card component
  • ConnectionStatusSection.tsx Updated connection status
  • GlobalHeader.tsx Updated global header
  • Modal.tsx Updated modal
  • OfflineIndicator.tsx Updated offline indicator
  • UserMenu.tsx Updated user menu
  • Updated AdminDashboard, AdminSessionDetail, and SessionDebugView decouple internal
    3 files
    • AdminDashboard.tsx
    • AdminSessionDetail.tsx
    • SessionDebugView.tsx
  • Updated Card, ConnectionStatusSection, GlobalHeader, Modal, OfflineIndicator, and UserMenu decouple internal
    4 files
    • Card.tsx
    • GlobalHeader.tsx
    • Modal.tsx
    • UserMenu.tsx

Undef Dice hooks and stores

5 files changed
  • useKeyboard.ts Added keyboard hook
  • useLongPress.ts Added long press hook
  • useTimer.ts Added timer hook
  • useCameraStore.ts Added camera Zustand store
  • useDiceStore.ts Added dice Zustand store
  • Added keyboard, long press, and timer hooks for Undef Dice interaction instantiate internal
    3 files
    • useKeyboard.ts
    • useLongPress.ts
    • useTimer.ts
  • Added Zustand stores for camera and dice state management instantiate internal
    2 files
    • useCameraStore.ts
    • useDiceStore.ts