Skip to content

React Roll Dice can pick a random element from the array for each die, then update the state, causing the dice to re-render to the appropriate values.

Notifications You must be signed in to change notification settings

KaushikShivam/roll-dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roll Dice - This is an exercise project that lets you pratice with props, defaultProps, state, and simple click events in React.

RollDice is a random roll-dice game built as an exercise for this tutorial.

GameHub Screenshot

Table of content

Description

React Roll Dice can pick a random element from the array for each die, then update the state, causing the dice to re-render to the appropriate values.

Installation

  1. Clone the project to your local directory
git clone https://github.com/KaushikShivam/roll-dice
  1. The project uses NPM for managing dependencies. Run npm install to install all the required dependencies
npm install
  1. Run the task runner to run the app
npm run start

Contact

You can contact me at:

About

React Roll Dice can pick a random element from the array for each die, then update the state, causing the dice to re-render to the appropriate values.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published