Skip to content

#611 feat: Connect Four visual board renderer for replay viewer#612

Merged
KovalDenys1 merged 4 commits into
developfrom
feature/611-connect-four-visual-replay
Jun 4, 2026
Merged

#611 feat: Connect Four visual board renderer for replay viewer#612
KovalDenys1 merged 4 commits into
developfrom
feature/611-connect-four-visual-replay

Conversation

@KovalDenys1
Copy link
Copy Markdown
Owner

Summary

  • Adds ConnectFourReplayRenderer.tsx — renders a 6×7 visual board with red/yellow discs during replay playback
  • Red disc = Player 1, Yellow disc = Player 2; winning line cells get a white ring, last-dropped cell pulses
  • Registered under connect_four in components/replay/registry.ts
  • Adds profile.gameReplay.board.* locale keys to all 4 locale files (en/ru/uk/no)

Test plan

  • Open a finished Connect Four game → Watch Replay → visual 6×7 board renders above "What Happened Here"
  • Step through moments — last-dropped disc pulses, winning line shows white ring
  • Open a Tic-Tac-Toe replay — existing TTT renderer still works
  • pnpm test — 864 passed
  • npm run check:locales — parity passed
  • npx tsc --noEmit — clean

- PATCH /api/lobby/[code] now accepts theme and gameType fields
- Game type change also updates the waiting game record and clamps maxPlayers
- LobbyInfo gains Game and Theme editable cards (host-only, visible pre-game)
- Theme picker gates premium themes behind isPremium flag (👑 shown when locked)
- Game picker shows all available catalog entries in a 2-col grid
- isPremium threaded from LobbyPageClient → LobbyInfo
- locale keys lobby.changeGame + lobby.changeTheme added to all 4 files
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
boardly Ready Ready Preview, Comment May 27, 2026 7:54am

@KovalDenys1 KovalDenys1 merged commit a11861b into develop Jun 4, 2026
7 checks passed
@KovalDenys1 KovalDenys1 deleted the feature/611-connect-four-visual-replay branch June 4, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant