Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add tests for draw bug * Refactor GameOutcome enum into several enums We can now distinguish between results in their various stages: 1. Results reported by an individual for a specific army 2. Accepted result for an army based on the individual reports 3. Accepted result for the whole team based on the accepted army results For instance, it doesn't make sense for a player's game to report the status of a particular result as "conflicting" since conflicts only arise when multiple players report different results for the same army. The Enum's now reflect that, and you can no longer report a "conflicting" or "unknown" result directly (as you could have before). As a consequence, any result string that is not present in the ArmyReportedOutcome will be ignored. Hence, the ACU kills reported via "score" results will no longer affect the army score calculation (previously these could turn a -10 score from a defeat into a positive number if the player got any acu kills).
- Loading branch information
Showing
11 changed files
with
285 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.