A WarioWare Culture Quizz minigames to play with friends
Find a file
AyoubBenziza 7dda00c65c feat: lead-in timer compensation + GIF support for round transitions
Server (option 2 — don't eat answer time):
- engine: leadMs prep delay (default 1600ms) before the clock starts; the
  round timer now fires at lead + duration, and scoring uses the post-lead
  start so the speed bonus spans the full answer window
- shared: round:start carries startsAt (answers begin) alongside endsAt
- engine test passes leadMs:0

Client:
- Countdown shows the full duration (no ticking) until startsAt, then counts
  down — so the WarioWare transition plays in full without stealing time
- store/ActiveRound carry startsAt

Custom transition media:
- RoundTransition auto-loads any gif/webp/apng/png/avif dropped in
  src/assets/transitions/ (import.meta.glob), plays one at random per round,
  falls back to the Framer animation when none are present
- README documenting how to add animations

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 11:25:17 +02:00
apps feat: lead-in timer compensation + GIF support for round transitions 2026-06-09 11:25:17 +02:00
packages feat: lead-in timer compensation + GIF support for round transitions 2026-06-09 11:25:17 +02:00
.gitignore feat(shared,server): scaffold @nerdware/shared types + Fastify/Socket.IO server 2026-06-08 14:55:52 +02:00
.npmrc feat: initial commit 2026-06-07 18:45:52 +02:00
.prettierignore feat: initial commit 2026-06-07 18:45:52 +02:00
.prettierrc feat: initial commit 2026-06-07 18:45:52 +02:00
ARCHITECTURE.md chore: initial scaffold (Turborepo + Vite/React + shadcn) 2026-06-08 14:24:04 +02:00
bun.lock refactor(web): generate DiceBear avatars locally instead of via HTTP API 2026-06-09 10:58:23 +02:00
CLAUDE.md chore: initial scaffold (Turborepo + Vite/React + shadcn) 2026-06-08 14:24:04 +02:00
package.json feat(server): generic game engine — GameRound interface + orchestration loop 2026-06-08 15:29:49 +02:00
README.md feat: initial commit 2026-06-07 18:45:52 +02:00
tsconfig.json feat: initial commit 2026-06-07 18:45:52 +02:00
turbo.json feat(server): generic game engine — GameRound interface + orchestration loop 2026-06-08 15:29:49 +02:00

shadcn/ui monorepo template

This is a Vite monorepo template with shadcn/ui.

Adding components

To add components to your app, run the following command at the root of your web app:

pnpm dlx shadcn@latest add button -c apps/web

This will place the ui components in the packages/ui/src/components directory.

Using components

To use the components in your app, import them from the ui package.

import { Button } from "@workspace/ui/components/button";