Release 2.0.0
This release introduces a new ui feature, removes the problem files from this project (outsourced to algobattle-problems) and introduces an Observable pattern that makes it possible to observe the state of a match object during its run. As this means API changes, this is a major release.
Changes in more detail:
- Use the new
--ui
option ofbattle
to get a cleaner visual output during a run. - The
match
object now contains amatch_data
dict, replacing the oldresults
dict. The contents of this dict are described in the docstring of therun
method. The signature ofrun
has been updated. - The calculation of points in
util
has been updated accordingly - Config files no longer include the options
iteration_cap
andapproximation_iterations
. These have been added as options (--iter_cap
and--approx_iterations
) to thebattle
script. - You can subscribe to a
match
object if you want to use the live data of a match. This is currently used for the ui output. - All problem files and their related tests (except for those used for unittests and delaytests) have been removed from this repository and moved into the algobattle-problems repository for logical separation.
- Code, docstring and test cleanups