Skip to content

DevWaweru/Pig-Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig-Dice

Fourth Independent Project for Moringa prep class , April 8th, 2018

By Richard Waweru

Description

The Pig-Dice game is a fun game based on two players rolling a dice.

A player rolls the die until either:

1. A one is rolled
2. The player chooses to hold i.e. stop rolling

When a one is rolled, accumulated points are discarded and the other player takes over the dice.

When Hold is pressed, the accumulated points are added to the player's final Score.

The other player then takes the die over.

Specifications

The web application will request the names of two users.

The two players will proceed to roll the dice, by generating a random number from 1 to 6.

If the output is not a 1, a player will continue to accumulate points and can hold in his discretion to add up to his/her final tally.

An output of one results in a zero of accumulated points.

The first player to get 100 is the Winner!

Preview

Click here to see the live site.

Known Bugs

No bugs so far. If found, email me at developer.waweru@gmail.com

Technologies Used

1. HTML
2. Bootstrap
3. Animate
4. js
5. jQuery

Support and contact details

Contact me on developer.waweru@gmail.com for any comments, reviews or advice.

License

Copyright (c) Richard Waweru

About

Fourth Independent Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published