Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.54 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.54 KB

Dice Duel Game

Dice Duel is a simple browser-based dice game where two players take turns rolling a six-sided die. The goal is to be the first player to reach a predefined score, usually 100.

Table of Contents

Features

  • Two-player dice game.
  • Player scores and current scores are displayed.
  • Switch turns and hold scores to accumulate points.
  • Responsive design for various screen sizes.

How to Play

  1. Open the game in a web browser.
  2. Player 1 starts by clicking the "Roll Dice" button.
  3. The player's current score increases with each roll.
  4. If a player rolls a 1, their turn ends, and the current score is reset.
  5. The player can click "Hold" to add the current score to their total score.
  6. The first player to reach a predefined score (e.g., 100) wins.

Installation

No installation is required. Simply open the index.html file in a web browser.

Usage

  1. Open index.html in your preferred web browser.
  2. Follow the on-screen instructions to play the game.

Contributing

If you'd like to contribute to the development of Dice Duel, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push to your fork and submit a pull request.

License

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