Skip to content

Major Rewrite, Stable(ish) Version

Latest
Compare
Choose a tag to compare
@NowanIlfideme NowanIlfideme released this 27 Jun 22:50

This is a complete rewrite, compared to the previous "minor release" that was 0.4.0-beta and especially the ancient "stable" 0.1.0 version.

The idea for this rewrite was to lower the amount of boilerplate needed to define your own games, remove YAML definitions in favor of function-based declarative definitions, and inherently implement "converters" to simplify defining targets for actions and abilities.

Other improvements:

  • The docs were rewritten to be sexier, more readable, and more useful in general. Automatic doc generation from docstrings is really nice.
  • A "command" API was introduced to allow working with the Engine directly from external systems. An example console application, called mafia-cli, was also created to both showcase this API and act as a test bed.
  • An actual application was built using the 0.5.0 version of the library, which helped to smooth out some rough edges.

It's still not perfect, but much closer and much more usable to someone other than the author. 😄