Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Dice-game-using-react.js

this webpage provides a fun and interactive game experience for users to enjoy and challenge their luck and strategy.

Dice Game

Description

This project is a simple web-based dice game built with React.js. It provides users with an interactive interface to play a game involving rolling a dice and selecting numbers.

Features

  • Dice Rolling: Players can roll a dice to generate a random number.
  • Number Selection: Players can select a number from 1 to 6.
  • Score Calculation: The total score is dynamically calculated based on the player's interactions.
  • Responsive Design: The interface is responsive and works well on various screen sizes.

Technologies Used

  • React.js
  • styled-components

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/dice-game.git
    
    

Navigate to the project directory: cd dice-game

Install dependencies: npm install

Start the development server: npm run dev

Usage Select a number from the number selector. Click on the "Roll Dice" button to roll the dice. Try to match the rolled number with the selected number to earn points. The total score will be updated based on your interactions.

License This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements This project was created as part of a learning exercise. Special thanks to the React.js and styled-components communities for their valuable resources and support.

Author

Paras Bhardwaj

About

this webpage provides a fun and interactive game experience for users to enjoy and challenge their luck and strategy.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages