🏠 vigrey.com

fairflip - File README.md

fairflip

Produce a fair coin flip from a biased coin

[GIT] git clone git://vigrey.com/git/fairflip

Git Repositories

Commits

Refs

LICENSE

README

RSS Feed

README.md - (502 Bytes)

 # FairFlip
 
 Get a fair coin flip result from a biased coin
 
 #### Dependencies:
 - Python >= 2
 
 #### Usage:
     Usage python3 fairflip.py <heads_percent>
 
     heads_percent is the chance of HEADS happening from a single coin flip
     (The heads bias).  heads_percent is a whole number from 1 and 99.
 
     Examples:
       python3 fairflip.py 60
       python3 fairflip.py 10
       python3 fairflip.py 50
 
 #### Warning:
 
 There is no error handling, so an error/exception may pop up if values are unexpected

Blanket Fort Webring

<< Prev - Random - Full List - Next >>

What the heck is this?