Skip to content

Latest commit

 

History

1,047 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flip-x

flip-x is an unofficial fan-made spinoff of press-your-luck card games. It is not affiliated with, endorsed by, or sponsored by any card-game publisher. Names and mechanics are used for homage and gameplay only.

flip-x is a shared-table web app with live turn tracking, action-card resolution, and automatic scoring to 200 points.

Stack

  • Next.js 16
  • Tailwind CSS v4, shadcn/ui
  • Convex + Confect
  • Effect-TS at service boundaries
  • Vitest, Playwright, GitHub Actions

See AGENTS.md for architecture and development workflow.

Local development

mise install       # installs the pinned hk version and Git hooks
pnpm install
npx convex dev   # separate terminal
pnpm dev         # https://flip-x.localhost via portless

Use PORTLESS=0 pnpm dev for plain http://localhost:3000.

The hk pre-commit hook formats staged files and runs the fast lint, i18n, and React Doctor checks. Pre-push adds the broader lint, Fallow, test, and design gates. Run either hook directly with mise run pre-commit or mise run pre-push. If hk is installed globally, mise install reuses that setup instead of installing a duplicate repository hook. See docs/git-hooks.md for setup, behavior, and migration details.

Testing

See docs/testing.md. Quick commands:

pnpm test              # engine, infra, contract, ui, confect
pnpm test:backend      # Convex smoke (local deployment by default)
pnpm test:e2e          # Playwright
pnpm ci:local          # pre-PR check

Deployment

Configure in your Convex and Vercel dashboards:

  • Vercel: NEXT_PUBLIC_CONVEX_URL (production Convex deployment URL)
  • Convex: POSTHOG_PROJECT_TOKEN and other backend env vars via npx convex env set
  • PostHog (optional): NEXT_PUBLIC_POSTHOG_KEY, NEXT_PUBLIC_POSTHOG_HOST, build-time source map vars

License

MIT — see LICENSE.

About

Unofficial fan-made press-your-luck card game — shared-table web app with live turns, action cards, and scoring to 200.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages