A very simple and lightweight coin flipper.
|
vor 9 Jahren | |
---|---|---|
README.md | vor 9 Jahren | |
flip.js | vor 9 Jahren | |
index.html | vor 9 Jahren | |
raw.html | vor 9 Jahren |
A very simple and lightweight coin flipper.
This uses JavaScript's Math.random()
. The output is fed to an if/else statement and if it is true the result is "Heads".
Copyright (c) 2016 Krik Mohammed
This project and its contents are open source under the MIT license.