Giter VIP home page Giter VIP logo

pig-dice's Introduction

Description

Pig dice is an application that allows the user to play when it is his/her turn. When the user rolls the dice he/she sees a cummulative score for each round and when satisfied with the score, he/she has an option to it and it is displayed and the next player get a chance to play. A player who scores 100 points wins the game.

Author

Rees Alumasa

Set Up Requirements

  • A mobile phone, PC, Desktop or any other PDA which can support a web browser
  • Internet connectivity
  • A web browser
  • Link to application https://Rees5.github.io/pig-dice

Installation

Set up the Pig Dice application locally by following the instrucions below: on you terminal application run;

  • git clone https:github.com/Rees5/pig-dice
  • cd dice
  • atom or code .

BDD

Behaviour Action Output Example
1.The Application allows a user to roll a dice when it is his/her turn Click on Start Game:
2.The application displays the user scores for each roll of dice he/she makes Click on Roll Dice
3.The application displays the cummulative scores for each round a user plays On click Roll Dice cummulative scores per click are stored
4.The application allows a user to hold a score when satisfied with the points gained in a particular round of playing click Hold
5.The application alerts the user when he/she rolls on number one and gives chance for another player When a user rolls on 1 eg.6-5-4-1
6.The application alerts the user of a winning player if he/she attains 100 points before the alternate player the cummulative score of player 2 i.e Kimberly scored 100 first i.e 105

Technologies Used

Languages

  • JQ
  • JS
  • HTML
  • CSS
  • bootsrap

Aplications

  • Atom
  • Terminal
  • Github

Contact Information

Copyright and License

MIT License

Copyright (c) 2019 Rees Alumasa

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.

pig-dice's People

Contributors

rees5 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.