Skip to content

dschaaf89/Pig-Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pig Dice

{A Pig Dice Project}, {August 21st,2020}

By Daniel Schaaf and Vanessa Stewart

Description

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

Specs

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.

Setup/Installation Requirements

  • 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

Known Bugs

there are no known bugs at this time

Support and contact details

if you have questions please email Daniel Schaaf @ daniel.schaaf@outlook.com or Vanessa Stewart @ vstewart1213@gmail.com>

Technologies Used

there were six products used to make the pages. HTML CSS Bootstrap.css Markdown JavaScript jquery 3.5.1

License

This software is licensed under the MIT license. Copyright (c) 2020 **_Daniel Schaaf, Vanessa Stewart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published