Git Product home page Git Product logo

wassimoubaziz / dice-game Goto Github PK

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

Welcome to the Dice Game - Two Player! This fun and interactive game challenge two players to reach a score of 100 by rolling dice. ๐ŸŽฒ๐ŸŽฎ

Home Page: https://wassimoubaziz.github.io/dice-game/

License: MIT License

HTML 18.31% JavaScript 38.91% CSS 42.78%
animation css dice dice-game dice-roller game html javascript oubaziz roller

dice-game's Introduction

Dice Game - Two Player

Welcome to the Dice Game - Two Player! This fun and interactive game challenge two players to reach a score of 100 by rolling dice. ๐ŸŽฒ๐ŸŽฎ

Overview

The Dice Game - Two Player is a classic game of luck and strategy. Players take turns rolling dice, accumulating points, and aiming to reach a score of 100 before their opponent. However, rolling a 1 will end the player's turn and reset their current score to 0, passing the turn to the next player.

Rules:

  • Players take turns rolling a single die.
  • Each roll adds to the player's current score.
  • Rolling a 1 resets the player's current score to 0 and ends their turn.
  • The first player to reach a score of 100 wins the game.

How to Play:

  1. Start the game by clicking the "Roll Dice" button.
  2. Each player takes turns rolling the dice by clicking the button.
  3. Accumulate points with each roll, but be careful not to roll a 1!
  4. The first player to reach or exceed a score of 100 wins the game.

Technologies Used:

  • HTML
  • CSS
  • JavaScript

Demo:

Play the Dice Game - Two Player - Add link to your deployed game.

Contribute:

Contributions are welcome! If you have ideas for improvements, additional features, or bug fixes, feel free to open an issue or submit a pull request. ๐Ÿ› ๏ธ

Feedback:

Share your experience playing the Dice Game - Two Player. If you encounter any issues or have suggestions for enhancements, connect with me on LinkedIn or open an issue. ๐Ÿ“ˆ

Enjoy the thrill of rolling the dice and competing to reach 100 points in the Dice Game - Two Player! ๐ŸŽฒ๐Ÿ†

dice-game's People

Contributors

wassimoubaziz 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.