Skip to content

A simple and interactive Dice Game built with React and Vite. Roll the dice, challenge yourself, and enjoy a clean and modern UI experience.

Notifications You must be signed in to change notification settings

Aabhasmishra/Dice-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎲 Dice Game

A simple and interactive Dice Game built with React and Vite. Roll the dice, challenge yourself, and enjoy a clean and modern UI experience.

Features

  • 🎮 Single Player Mode: Roll the dice and test your luck
  • ⚡ Fast performance with Vite
  • 📱 Responsive and mobile-friendly
  • 🧼 Clean, modular, and easy-to-understand codebase

🛠️ Tech Stack

  • React: JavaScript library for building user interfaces.
  • Vite: Next-generation frontend tooling for faster builds.
  • JavaScript: Core programming language for logic implementation.
  • HTML & CSS: Markup and styling.

📸 Preview

Home Page

dice game 1

Number Selection

dice game 2

🧩 Installation

Follow these steps to set up the project locally:

  1. Clone the repository:
    git clone https://github.com/Aabhasmishra/Dice-Game.git
  2. Navigate to the project directory:
    cd Dice-Game
  3. Install dependencies:
    npm install
  4. Start the development server:
    npm run dev
  5. Open your browser and go to:
    http://localhost:5173

🧾 Project Structure

Dice-Game/
├── public/
│   └── dice-game-screenshot.png   # Preview image
├── src/
│   ├── Components/
│   │   ├── Dice.jsx
│   │   ├── RollDice.jsx
│   │   └── Title.jsx
│   ├── App.jsx
│   └── main.jsx            
├── index.html                    
├── package.json
├── vite.config.js
└── README.md                      

🤝 Contributing

Contributions are welcome! If you'd like to improve the game or fix bugs:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/YourFeature
  3. Commit your changes:
    git commit -m 'Add YourFeature'
  4. Push to the branch:
    git push origin feature/YourFeature
  5. Open a pull request.

✍️ Author

Aabhas Mishra

Feel free to connect for any questions or contributions!

📄 License

This project is open-source and available under the MIT License.

About

A simple and interactive Dice Game built with React and Vite. Roll the dice, challenge yourself, and enjoy a clean and modern UI experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published