Skip to content

A Javascript challenge & Exercise on rolling a dice 🎲

Notifications You must be signed in to change notification settings

thatdania/Javascript-Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Javascript Dice

Inspired by the tutorials from CodeAcademy, I wanted to familiarise myself more with the Javascript syntax and logic by creating several games. Here, one shall be rolling two dices


How to Use

  1. Clone the project
git clone https://github.com/thatdania/Javascript-Dice.git
  1. Changes into the project directory on ur computer via Terminal
cd Javascript-Dice
  1. Changes into the views section
cd views
  1. Open dice.html and enjoy!
open dice.html
  1. Refresh the page if you want to reset your lucky rolls to 0!

User stories

As A Dice Roller,
So I can roll a dice,
I would like to roll between a 1 and 6
As A Dice Roller,
So I can roll two dice,
I would like to roll between a 1 and 12
As A Dice Roller,
So I can know my total scoare from the two dice,
I would like to see the total score for that roll"
As A Dice Roller,
So I can know when I have good luck,
I would like to be able to count my good luck"
As A Dice Roller,
So I can play a modern game for the dice,
I would like to design to be practical where I can click a button to roll"
As A Dice Roller,
So I can roll again,
I would like to reset my roll without changing my lucky rolls"
As A Dice Roller,
So I can practice my rolling addictively,
I would like to have a sexy interface

About

A Javascript challenge & Exercise on rolling a dice 🎲

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published