Skip to content

iantwilcox91/Pig-Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig Dice

By Ian Wilcox

Description

this is a simple web page where you can play the Pig-Dice game.

Setup/Installation Requirements

*if you direct a web browser to https://iantwilcox91.github.io/Pig-Dice/ you can access the page.

Behavior Driven Development

Behavior input output
user can click ROLL and it shows the result ROLL =3
each time the dice is rolled, the dice sum is added and the total is displayed in current points ROLL=(3,2,2) = 7
if the dice lands on "1" the score added to Points Total is 0 and the turn goes to the next player Roll=1 0pts
if the player clicks PASS, "current points" is added to "points total" and turn goes to the next player pass PtsTtl = PtsTtl + CrtPts

License

This project is considered open sourse, and would fall under a MIT license

Copyright (c) 2016 Ian Wilcox