_This project had us create a game called Pig Dice. we had to research the rules for both the 1 dice varient and the 2 dice varient. _
Spec | Input | Output |
---|---|---|
make sure the roll box is filled with a dice roll between 1 and 6 | Math.random | roll box is filled with a number between only 1 and 6 |
make sure that on a role of 1 that a 0 is recorded for turn score. also the current players buttons are disabled. | 1 | current players button disables and turn score shows 0. |
make sure that when hold button is clicked. the turn score gets added to total score | turnscore added | turn score = 15 total score turns to 15 and the turn score turns to 0 |
two dice tests | ||
make sure that when doubles rolled other then double 's that the current players hold button works | dice 1: 2 dice 2 : 2 | current players hold button disables |
make sure when double 1s are rolled that the total score is zeroed out | dice 1: 2 dice 2 : 2 | current players total score = 0 |
**make sure that when a single 1 is rolled that the turn score goes to 0 and the turn is passed to next player ** | dice 1: 2 dice 1 : 6 | current players buttons disable and turn score turns to 0. next players buttons activate. |
- Clone my repository
- make sure all files are included, the index.html, scripts.js,styles.css, and the bootsrap and jquiery files.
- run the index.html file
- play the game
there are no known bugs at this time
if you have questions please email Daniel Schaaf @ daniel.schaaf@outlook.com or Vanessa Stewart @ vstewart1213@gmail.com>
there were six products used to make the pages. HTML CSS Bootstrap.css Markdown JavaScript jquery 3.5.1
This software is licensed under the MIT license. Copyright (c) 2020 **_Daniel Schaaf, Vanessa Stewart