New feature: "Chaos Remixed" booster draft (#10328)

* Fix error in draft pick logger that was failing on chaos drafts with fewer than 3 sets

* Implement Remixed Booster Draft

* Add debug test

* minor cleanup

* Cleanup unnecessary checks

* Fix elimination tournament type

* Add note for future improvement
This commit is contained in:
xenohedron 2023-05-12 10:12:23 -04:00 committed by GitHub
parent 6d4e353867
commit 4cc9329b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 437 additions and 47 deletions

View file

@ -21,6 +21,7 @@ public class TournamentTypeView implements Serializable {
private final boolean cubeBooster;
private final boolean elimination;
private final boolean random;
private final boolean remixed;
private final boolean richMan;
private final boolean jumpstart;
@ -34,6 +35,7 @@ public class TournamentTypeView implements Serializable {
this.cubeBooster = tournamentType.isCubeBooster();
this.elimination = tournamentType.isElimination();
this.random = tournamentType.isRandom();
this.remixed = tournamentType.isRemixed();
this.richMan = tournamentType.isRichMan();
this.jumpstart = tournamentType.isJumpstart();
}
@ -79,6 +81,10 @@ public class TournamentTypeView implements Serializable {
return random;
}
public boolean isRemixed() {
return remixed;
}
public boolean isRichMan() {
return richMan;
}