A very simple and lightweight coin flipper.
|
il y a 9 ans | |
---|---|---|
README.md | il y a 9 ans | |
flip.js | il y a 9 ans | |
index.html | il y a 9 ans | |
raw.html | il y a 9 ans |
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.