GithubHelp home page GithubHelp logo

pig-dici's Introduction

Pig Dice

link to my live site live site This is a project is a game where two playes play against each other andthe one who accummulate score to 100 or more becomes a winner.

Getting Started

To start the project Click Start Button, the program prompt users their names and set each other ready for a new game. Prayer 1, start by rolling dice and continues to accumulate the score if only if has not rolled 1, otherwise his/her round ends and total score pulled to 0.The session is passed to prayer 2 The same thing happens to prayer 2, untill a winner is found Description

The project is design using following technologies:
#Html
#Css
#JS
#Bootstrap

Specs of the program

Players input their name, by clicking clicks start button.
Input: Player 1: "prayerX","prayerY"Click START?
Output : true
Player 1 clicks ROLL button.
Input: Click ROLL button
Required:Random generated number from 1 to 6.
Output: true
If Player 1 rolls a 1, no score is added and round for Player 1 ends.
Input : roll 1
Required:No Score added, player round ends
Output :true
If Player 1 rolls a number not 2, score is added and round for Player 1 continues unless want to hold.
Input : roll 1
Required:Score added, player round continues unless hold
Output :true

The project has start button which collects users names and starts a new game Roll buttton generates random numbers from 1-6 Hold button accumulates a prayers score and pass the session to the next prayer

Prerequisites

To have this project run from your end, the following are prerequisites tools you need Installing

Fork this branch from this username:Josiahngugi/project2 once done forking, clone the project to you computer:$git clone URL

Please ensure you have cloned it to the diretory you intended.

Tools

1.Xammp or any other live server 2.atom 3.a computer [atleast 4GB ram, 500GB HDD,core I5 proccessor]

Please ensure you have cloned it to the diretory you intended.

Authors

  • Josiah Maina Ngugi - Initial work - alfartech

License@

@ MIT ==>Alfar Technologies Limited

Acknowledgments

  • God
  • Mr.Ngugi
  • moringa TM's

pig-dici's People

Contributors

josiahngugi avatar

Watchers

James Cloos avatar

Forkers

ratemolewis

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.