A provably fair Crash game (Aviator-style) with a rocket/space theme. Built as a technical challenge for the Senior Game Engineer position.
Read CHALLENGE.md for full instructions.
pnpm install
pnpm devOpen http://localhost:5173 — server runs on port 3001 automatically.
- Canvas: PixiJS 8 + @pixi/react
- Animation: Rive
- UI: React 19 + Tailwind CSS 4
- State: Zustand 5
- Server: Fastify 5 + WebSocket
- Build: Vite + TypeScript (strict) + pnpm workspaces
| Command | Description |
|---|---|
pnpm dev |
Start server + client |
pnpm test |
Run all tests |
pnpm build |
Build all packages |
apps/client/ → React + PixiJS + Rive frontend
packages/server/ → Fastify game server (WS + REST)
packages/shared/ → Shared types + Zod schemas