kittsville / dodgy-decider
10MtM's procedural generation engine
v0.2.0
2016-10-14 17:17 UTC
Requires
- php: >=5.5.9
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2025-01-02 03:23:15 UTC
README
"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.
Usage
use Kittsville\DodgyDecider\Decider; $decider = new Decider('f37485e931'); echo $decider->chooseElement(['a', 'b', 'c'], 'choose a letter');
Contributing
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.
License
Dodgy-Decider is open-sourced software licensed under the MIT license.