GithubHelp home page GithubHelp logo

hediske / yatzy Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.75 MB

A Web App Game to Play with your Friends made with HTML,CSS and JS.

Home Page: https://yatzyy.netlify.app/

License: MIT License

CSS 24.78% HTML 19.87% JavaScript 55.36%

yatzy's Introduction

Yatzy - Play with your friend and Have Fun.

Yatzy is a popular classic dice game that is played with 5 dices and consists of 13 different rounds for each player and at each round every player can only choose one category to play.

I want to play Netlify

You can try Yatzy from this link.

How to Play

Every player is supposed to play 13 rounds
At each round, the player can roll the dices for up to 3 times an can typically choose specific dices to not roll in order to satisfy some combinations.


   Possible combinations:

  • Ones, Twos, Threes, Fours, Fives, and Sixes: The player scores the sum of the corresponding dice faces. For example, in the "Threes" category, the player scores the total number of threes rolled.
  • Three of a Kind: Three dice with the same number. The player scores the sum of all the dice.
  • Four of a Kind: Four dice with the same number. The player scores the sum of all the dice.
  • Full House: Three of one kind and two of another. The player scores 25 points.
  • Small Straight: A sequence of four consecutive numbers. The player scores 30 points.
  • Large Straight: A sequence of five consecutive numbers. The player scores 40 points.
  • Yahtzee: All five dice showing the same number. The player scores 50 points.
  • Chance: The player scores the sum of all dice, regardless of the combination.

   Bonus calculation:

The bonus in Yatzy is awarded if the total sum of the Upper Section categories (Ones, Twos, Threes, Fours, Fives, and Sixes) is 63 or higher. If a player achieves this, they receive a bonus of 35 points. The bonus is added to their total score.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MPL

yatzy's People

Contributors

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