jpschewe / fll-sw

FIRST Lego League scoring software
http://jpschewe.github.io/fll-sw/
GNU General Public License v2.0
10 stars 7 forks source link

Be able to automatically finish out a head to head bracket early #644

Closed jpschewe closed 6 years ago

jpschewe commented 6 years ago

When we run the state tournament we run 2 head to head brackets down to 4 teams and then want to finish out the brackets with dummy scores so that we can run another bracket with 8 teams. It would be nice to be able to finish out the bracket automatically.

jpschewe commented 6 years ago

I think the easiest way to do this will be to take each pair of teams and give one team a zero and one a no show. This way the code doesn't need to know anything about the missions.

jpschewe commented 6 years ago

To create an empty score I think that I want to use DummyTeamScore and enhance it to support being passed the no show flag. To properly populate it I will need to set all goal scores to their initial values in the map, otherwise the score evaluation code won't work.

jpschewe commented 6 years ago

Next step is to see which commit shows all of the tests using theories running.

If this works, then dinner documentation should be added to the constants and possibly rename some classes.