kittsville/dodgy-decider

This package is abandoned and no longer maintained. No replacement package was suggested.

10MtM's procedural generation engine

Maintainers

Package info

github.com/kittsville/Dodgy-Decider

pkg:composer/kittsville/dodgy-decider

Statistics

Installs: 20

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.0 2016-10-14 17:17 UTC

This package is not auto-updated.

Last update: 2026-02-12 09:05:38 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.