Refactor the bracket to be stored as a tree data structure. This should make it easier to write printers for, as well as score brackets after the tournament has completed. Each node on the tree is a Game object that can be extended in future work.
Simplify all the methods implemented by IStrategy, for example removing calls to adjust() after each round. This includes changing the signature of pick() to only return a single team (ie: the winner).
Reformat how starting team data are stored into a simpler yaml format. This involves dropping team records, but as there were no brackets that cared about wins/losses during the regular season, it doesn't seem like a big deal. We're also storing the year and the WestPlays variable in the yaml file for better data encapsulation.
Simplify printers to only include a file-printer. This class is still WIP but brackets do get printed to file for each legal strategy.
Add various niceties, for example more definitive team names.
Slightly modify APIs for strategy, for example by passing the year to the strategy.
Game
object that can be extended in future work.IStrategy
, for example removing calls toadjust()
after each round. This includes changing the signature ofpick()
to only return a single team (ie: the winner).WestPlays
variable in the yaml file for better data encapsulation.