Skip to content

BrianSturgis/pigDice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authored by Brian Sturgis

Authored by Dani Renner

Updated on Jan 22nd, v1.0 2021

PIG DICE

Application Description

Pig Dice is a simple dice game where Players take turns to roll a single die as many times as they wish, adding all roll results to a running total, but losing their gained score for the turn if they roll a 1. As with many games of folk origin, Pig Dice is played with many rule variations, including the use of two dice instead of one.

Pig is one of a family of dice games described by Reiner Knizia as "jeopardy dice games", where the dominant type of decision is whether or not to jeopardize previous gains by rolling for potential greater gains.

The projects objectives were to complete the following (MVP)

  • JavaScript business logic and user interface logic are separate.

Known Bugs

none as of yet but don't fret as there will be.

Setup/Installation Requirements

  • repository location (https://github.com/BrianSturgis/pigDice)
  • open through a git terminal or clone editor.
  • got to repo location.
  • using git commands clone to local repo
  • or click "download" and unpack on machine
  • open the index.html file to view the website
  • THIS APPLICATION IS INTENDED TO BE USED FULL SCREEN, IN A BROWSER WINDOW, LANDSCAPE.

GIT HUB

  • repository location (https://github.com/BrianSturgis/pigDice
  • open through a git terminal or clone editor.
  • got to repo location.
  • using git commands clone to local repo or click "download" and unpack on machine

GIT HUB PAGES

SPECS

Test: "It will register user button click and return a random number 1-6"

Expect:(PigDice).toEqual(1-6);

Test: "it will generate a random number between 1-6"

Expect:diceRoll(this.roll).toEqual(1-6);

Test: "it should add roll to total"

Expect:scorekeeper(this.total).toEqual(this.total += this.roll);

Test: " "

Expect:().toEqual();

Test: " "

Expect:().toEqual();

Stretch goals

  • Images, styling, and custom animations used in UI.
  • Add a second form field that takes a name as an input. Then update the output so that the program states "thanks for playing Name
  • Animated UI

Support and contact details

email Brian Sturgis @ sturujisu@gmail.com

Technologies Used

  • HTML
  • Bootstrap
  • CSS
  • Jquery
  • Visual Studio Code
  • Git
  • GitHub
  • coffee
  • Adobe Photoshop
  • nes.css

Resources Quoted

  • w3schools
  • Wikipedia
  • Udemy.com

License

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

Copyright (c) 2020 Brian Micheal Sturgis Dani Renner

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published