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.