The objective of YAHTZEE is to get as many points as possible by rolling five dice and getting certain combinations of dice.
Read more about it here.
Try demo of this project hosted on the GitHub pages.
-
Downloand zip or clone repo:
[email protected]:katepysova/Yahtzee.git
-
Change your current directory to this project directory.
-
npm install
-
git init
-
npm run prepare
- to install git pre-commit hook (does not work not in a git repository). -
git add .husky/pre-commit
- to add git pre-commit hook. -
touch .env
- to create.env
file, if needed.
-
npm run dev
- to start the app on the localhost. Open http://localhost:3000 to view it in your browser. -
npm run predeploy
- to build the app for production to thedist
folder. Your app is ready to be deployed! -
npm run deploy
- to deploy the app on the GitHub Pages. See Notes on client-side routing.
npm run format
- to format and lint the code.