A fun and interactive horse racing game built with Typescript, Vue 3, Vite, and Vuex.
Manage horses, schedule races, and watch the action unfold with real-time animations and results!
 
- Generate a stable of unique horses with random stats and colors
- Schedule and run a series of races with varying distances
- Animated race track with live horse movement
- Audio effects for countdown, start, and finish
- View race results, winners, and statistics
- Responsive UI with a modern dashboard layout
- End-to-end and unit tests with Cypress and Vitest
npm installnpm run devnpm run buildRun Unit Tests with Vitest
npm run test:unitRun End-to-End Tests with Cypress
Against the Vite development server (faster for local dev):
npm run test:e2e:devRecommended: Test the production build before deploying (e.g. in CI):
npm run build
npm run test:e2eLint with ESLint
npm run lintTo ensure audio works in your built app, place your audio files (beep.mp3, start.mp3, end.mp3) in the /public directory and reference them as /beep.mp3, etc.
See Vite Configuration Reference.
Enjoy racing! 🏁