Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/machel54/pig-dice
This is a simple dice game that requires two players to play and gives one winner as the out come of the match
https://github.com/machel54/pig-dice
Last synced: 9 days ago
JSON representation
This is a simple dice game that requires two players to play and gives one winner as the out come of the match
- Host: GitHub
- URL: https://github.com/machel54/pig-dice
- Owner: Machel54
- Created: 2019-04-05T04:08:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-08T08:06:07.000Z (almost 6 years ago)
- Last Synced: 2024-11-16T21:12:37.693Z (2 months ago)
- Language: JavaScript
- Homepage: https://machel54.github.io/Pig-dice/
- Size: 401 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pig-dice
#### a pig dice is a random number picker software
## Description
this application is a user interractive application programmed to generate random numbers to mimic the actions of a rolling dice and also run concurrently while two players are playing
To start using this project use the following commands:
git clone https://github.com/Machel54/Pig-dice.git
cd pig-dice
atom .
code . (this is if Visual Studio Code is your preferred text editor## BDD
|User input| input | output |
|----------|---------------|-----------------------|
| process | on Roll | dice number rolled |
| | | |
|user | | |
|withdrawal| on Hold | player shifted |
|game over | on Hold | alert winner |
| | | |## Setup Requirements
* first fork the project from this repository
* from your end of the computer clone this project to your machine
* after this you can implement the any changes you want to customize your app
* push back your changes to gh-pages to deploy the app to a live site## Known Bugs
some bugs you might encounter like me drawing basis from a foreign source is the use of query selectors instead of id's and classes since they only pic the first element of the specified file and any error or confusion will cause a chain effect on the js script.the program is not showing the current score of the player.## Technologies Used
* HTML
* CSS
* JavaScript
* Bootstrap### License ###
{MIT License.}
Copyright (c) 2019 Moringa School
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.
## contact details
for anyinquiries and issues contact me @ [email protected]
Copyright (c) {2019} Machel Nyanumba