Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice-Game ✨

This is a fun and engaging 2-player dice game website built using HTML, CSS, and JavaScript. Players take turns rolling dice, aiming to achieve the highest score or specific winning conditions you define.

Features:

  • 2-player gameplay: Supports simultaneous play for two players.
  • Interactive dice rolling: Players can click on virtual dice to roll them, adding an engaging element.
  • Scorekeeping: Tracks individual player scores and displays them in a clear and user-friendly manner.
  • Winning conditions: You can customize the rules to determine winning criteria (e.g., highest score after a set number of rounds, reaching a specific target score).
  • Visually appealing design: The website utilizes CSS to create an attractive and intuitive interface that enhances the user experience.

Installation:

  • Clone the repository:
    git clone https://github.com/[your-username]/[your-repo-name].git

  • Open the HTML file:

  1. Navigate to the project directory using your terminal.
  2. Open the main HTML file (e.g., index.html) in a web browser.

Usage:

  • Start the game: Players can begin playing immediately upon opening the website in their browsers.
  • Roll the dice: Each player clicks on the designated dice element to roll.
  • View scores: The website updates and displays individual player scores after each roll.
  • Determine the winner: The winning conditions you define (e.g., highest score after a set number of rounds) will determine the victor.

Customization:

  • Rules and scoring: Modify the JavaScript code to implement your desired winning conditions and scoring logic.
  • Design: Customize the CSS styles to personalize the website's appearance.
  • Sound effects: Optionally, add sound effects for dice rolls and other game events using JavaScript libraries.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages