Giter Site home page Giter Site logo

panwar8279 / dice_game Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 494 KB

Creating a simple dice game using React.js + vite involves setting up a React project, creating components, and managing state.

Home Page: https://dice-game-nu-gules.vercel.app

JavaScript 88.22% HTML 9.87% CSS 1.91%

dice_game's Introduction

React Dice Game

Welcome to the React Dice Game! This is a simple web application built with React.js+vite where you can roll a virtual six-sided dice.

Demo

You can view a live demo of the project https://dicegame.techprodevelopers.com/.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine.

Prerequisites

Make sure you have Node.js and npm installed on your machine.

Installing

  1. Clone the repository to your local machine:

    git clone https://github.com/panwar8279/Dice_game.git
    
  2. Navigate to the project directory:

    cd Dice_game
  3. Install dependencies:

    npm install

Running the App

Start the development server:

npm start

Open your browser and go to http://localhost:3000 to play the dice game.

### How to Play
Click the "Roll Dice" button to roll the dice and get a random value between 1 and 6.
The virtual dice face will display the rolled number.

### Built With
React - JavaScript library + vite for building user interfaces.

### Contributing
If you'd like to contribute, please fork the repository and create a pull request. Feel free to open an issue if you have any suggestions or find any bugs.

dice_game's People

Contributors

panwar8279 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.