"It works, for the most part" - An optimistic contributor
A small PHP tool for consistently making decisions based off of a given seed.
Created for procedurally generating the world of the text adventure game 10 Minutes to Meston.
use Kittsville\DodgyDecider\Decider;
$decider = new Decider('f37485e931');
echo $decider->chooseElement(['a', 'b', 'c'], 'choose a letter');
As per the name I am fully aware how terrible this is. Feel free contribute with suggestions, pull requests or a completely new decider you've built yourself.
Dodgy-Decider is open-sourced software licensed under the MIT license.