Tool to calculate the EV of an intentional draw for a player in a Swiss-pairings tournament (such as Magic: The Gathering)
NOTE: WIP -- it is not complete, and this is just a basic structure for keeping track of the tournament structure, as well as the calculations for a players' own points, as well as the various tiers of tiebreakers.
The intention is to build this basic framework into a tool that can do Monte Carlo style simulations (either exhaustive or sampled) to calculate the EV of intentional draws.
Currently a bit stuck on whether or not I should track results at the Game level, or simply at the Match level. Either way, I'm a little stuck on knowing how to determine if a Match is complete via intentional draw, and it's something that I might just have to special-case. Regardless, it's a tricky situation because I'm also trying to write this to support multiplayer, as well as mixed draw+loss resulst being in a single 4-player game (I.E., two players lose, and the final two players tak