Git Product home page Git Product logo

pig-game-2's Introduction

{Pig Game}

{Brief description of application}, {Date of current version}

By {Jason Ainsworth and James Higgins}

Description

{This is a detailed description of your application. Its purpose and usage. Give as much detail as needed to explain what the application does, and any other information you want users or other developers to have. }

Setup/Installation Requirements

  • Clone github repo
  • Open index.html file in browswer
  • follow instructions to play the game

Project Specs:

Behavior Input Output
The program will allow the user to start the pig game select display user interface for the game
The program has a button that generates a random number between 1-6 when the user clicks the button select roll display 3
The program stores the value of the users roll in a variable user rolls var roll = userRoll Value
The program displays the value of the users roll user rolled 4 display 4
The program continues to display the value of each consecutive roll by the user user rolled 4 then user rolls 3 display 4 display 3
The program will total all the displayed values for the users turn roll 3, 5 ,4 display "total" = 12
The program provides a button to allow user to end the turn and adds responsiveness to the button to alert active player select "Hold" display Roll button highlights or gets bigger to alert the active player
The program will alert the user who reaches a certain number first and considers the game finished rolls until total = 100 display congrats you've won
The program will alert the user who reaches a certain number first and considers the game finished rolls until total = 100 display congrats you've won

Known Bugs

{There are no known bugs at this time }

Support and contact details

{Please comment on GitHub with questions}

Technologies Used

{HTML, Javascript, bootstrap, jquery}

License

MIT

Copyright (c) 2017 {Jason Ainsworth and James Higgins}

pig-game-2's People

Watchers

James Cloos 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.