fairdraw

Uses the NIST beacon to randomly draw lots

Usage no npm install needed!

<script type="module">
  import fairdraw from 'https://cdn.skypack.dev/fairdraw';
</script>

README

Fairdraw

Node.js command-line tool for determining a fair ordering of participants. Use as an overengineered way to draw lots/short straws.

Uses the NIST Randomness beacon (refreshed every minute) for maximum fairness to ensure nobody gets mad about someone gaming the system.

Installation and Usage

git clone https://github.com/colophonemes/fairdraw && cd fairdraw
node index

Then, at the prompt, enter a comma separated list of names:

? Enter the names of all participants, separated by commas Sam, Tara, Will

Be amazed at your results!

Tara is 1st
Will is 2nd
Sam is 3rd

License

ISC / WTFPL