Pig dice is a dice game where players roll a dice and gain points based on the side rolled i.e(a 6). You win by being the first player to score 100 or more points.
check out my Portfolio:https://kingsmunene.github.io/
ACTION | OUTPUT |
---|---|
The player clicks roll | random number(1-6) |
The player click again to gain more points if the previous output not 1 | random number(1-6) |
If the player click and gains 1 | you rolled a one, next player please! |
The player clicks hold | Total score, next player |
To run this application click on the site link provided!! Enjoy the game. link:
This application is entirely built using HTML,JAVA SCRIPT AND CASCADING STYLING SHEET FILES.
If the application does not provide the results after submitting the values: 1.Refresh your web browser if the page does not show . 2.Check your internet connection. I highly encourage you to go through the code and suggest any changes you think are necessary.
contact me [gmaxkings@gmail.com]()
*MIT License
Copyright (c) [2019] [Kings Munene]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.