A browser-based game built with React and TypeScript using Vite.
Install dependencies:
npm installRun the development server:
npm run devThis will start the Vite dev server at http://localhost:5173
Build for production:
npm run buildThe production build will be in the dist folder.
Preview the production build locally:
npm run previewsrc/- Source codemain.tsx- Entry pointApp.tsx- Main game componentApp.css- Game stylesindex.css- Global styles
index.html- HTML templatevite.config.ts- Vite configurationtsconfig.json- TypeScript configuration