Skip to content

A virtual dice roller that generates a random value for two players to determine a winner.

Notifications You must be signed in to change notification settings

junmian/dice-roller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice Roller

Overview

This app allows you to roll virtual dice with a click of a button. The player with the highest die value wins. In the event of equal values on both dice, it is a draw.

Randomness in Dice Rolls

Computers are deterministic machines, so it is physically impossible for computers to generate true randomness, at least not the kind we see in nature. To get a non-random computer to generate what appears to be a random number is called a pseudorandom number generator (PRNG), which is an algorithm of a deterministic nature that uses mathematical formulas to simulate randomness.

Tools Used

  • HTML
  • CSS
  • JavaScript

Source Control

  • GitLab

App Screenshot

Dice Roller Screenshot

About

A virtual dice roller that generates a random value for two players to determine a winner.

Topics

Resources

Stars

Watchers

Forks