About • Development • Deployment
|
Application: catan-dice-roller.vercel.app 🌐 |
If you don't have dice or enough space on the table use Catan Dice Roller. This web/mobile application will throw two dice for you and notify you when the robber is rolled same as in Catan Universe. The app has sounds 🔊 and cool animations 💫. Check it out here.
App was created using React. This is a PWA, you can install it and use the app offline.
- Defining user list (randomly select starti player, show who has the turn).
- Statistics view. Show how many times each number was rolled.
- Alternative random generator (card stack). Similar to Catan Universe.
You will need Node v20. I suggest using nvm for managing your node versions.
- Install dependencies with
npm install. - Run desktop application with
npm run startor react app withnpm run react-start. - Access application under
localhost:3000.
Storybook can be launched with npm run storybook.
Code coverage can be checked using npm run test:coverage.
To format code run npm run format.
To perform static code analysis run npm run lint.
Application is automatically deployed to vercel under catan-dice-roller.vercel.app.
