A browser-based blackjack table built with React, TypeScript, Zustand, Framer Motion, and Vite.
npm run dev: start the Vite dev servernpm run build: build the production bundle intodist/npm run preview: serve the production build locallynpm run test: run Vitest in watch modenpm run test:run: run Vitest oncenpm run lint: run ESLintnpm run format: format the repository with Prettier
src/
app shell and bootstrap:
App.tsx
main.tsx
styles/index.css
game/model:
Deck.ts
enums.ts
types.ts
components:
table and control UI
store:
Zustand game state
utils:
gameplay helpers
hooks:
UI-specific hooks
test:
shared test utilities
Install dependencies with npm install, then start the app with npm run dev.