A simple and interactive Dice Game built with React and Vite. Roll the dice, challenge yourself, and enjoy a clean and modern UI experience.
- 🎮 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
- 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.
Follow these steps to set up the project locally:
- Clone the repository:
git clone https://github.com/Aabhasmishra/Dice-Game.git
- Navigate to the project directory:
cd Dice-Game
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and go to:
http://localhost:5173
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
Contributions are welcome! If you'd like to improve the game or fix bugs:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add YourFeature'
- Push to the branch:
git push origin feature/YourFeature
- Open a pull request.
Aabhas Mishra
- GitHub: Aabhasmishra
- LinkedIn: linkedin.com/in/aabhas-mishra-639750302
Feel free to connect for any questions or contributions!
This project is open-source and available under the MIT License.