/pigdice

Primary LanguageJavaScript

Pig Dice

April 8th, 2020

Description

This site contains an a game called pig dice

This site is already linked to an index.html, bootstrap.css(4.4.1), styles.css, jQuery.js(3.4.1), and scripts.js.

Setup/Installation Requirements

Make sure you have git version control installed on your computer.

  1. click the green 'Clone or Download' button and copy the link / download the zip
  2. open terminal and type... or skip to the 2nd #3 if you downloaded the zip

Windows

cd desktop

Mac & linux

cd ~/Desktop
  1. in terminal type 'git clone {link to repository} '
git clone {link to repository}
  1. if you downloaded the zip then extract all onto your desktop
  2. navigate to the new folder that was created on your desktop
  3. select index.html
  4. right click on the file and select 'open with'
  5. select your preferred browser (works best with Chrome or Firefox)
  6. enjoy

Specs

Behavior Driven Development Spec List

Pig dice

Behavior Input Output
The user will be able to see each player's score dice roll player one = 12 & player two = 22
The program will have a dice roll button to determine a 1-6 outcome 'mouse click' '1-6'
The program will award no points and pass the turn to the next player if a one is rolled 1 Pass turn
The player can "hold" which ends the turn and adds their dice count to their running total 5 17
The program will award victory to the first player to score 100 or more score =>100 Victory
The program has a popup declaring which player emerged victorious player's score exceeds 100 player victory popup

Known Bugs

N/A - 4/8/2020

gh-pages

https://WiseFool92.github.io/pigdice https://tayphill13.github.io/Pig-Dice

Support

Email: watkins92@gmail.com
Email: taylorphillips133@gmail.com


Built With

Useful tools





License

This project is licensed under the MIT License

Copyright (c) 2020 Nathan Watkins-Hoagland & Taylor Phillips