Subject: | scripts should be given default config |
I think a script shouldn't have to specify a default configuration.
I thought differently before, apparently. Or I didn't think differently, and this is a bug.
Running the pair script, I don't want to have to put scores and roles in the league.yaml file.
I see in the tests, it is setting default stuff in a BEGIN block.
I guess I thought the modules should be agnostic about whether it is a chess tournament, or some other kind of tournament.
I see however that the usual chess scores, roles, abbrevns are defaults to the same-named methods in Games::Tournament::Swiss::Config.
Why aren't these loaded when you use Games::Touranment::Swiss::Config?