kittsville / dodgy-decider
10MtM's procedural generation engine
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kittsville/dodgy-decider
Requires
- php: >=5.5.9
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2025-10-09 07:24:52 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.