summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index ad73689..cd8c8ce 100644
--- a/rules.js
+++ b/rules.js
@@ -2,6 +2,7 @@
exports.scenarios = [
"Historical",
+ "Tournament",
// TODO: Free Deployment
// TODO: Avalon Digital scenarios?
];
@@ -913,7 +914,7 @@ function reveal_cards() {
}
// Tournament rule: Caesar always goes first on the first turn of the game.
- if (game.year == 705 && game.turn == 1) {
+ if (game.year == 705 && game.turn == 1 && game.tournament) {
if (game.p1 != CAESAR) {
log("Tournament rule:\nCaesar is the first player on the very first turn of the game.");
game.p1 = CAESAR;
@@ -2233,6 +2234,7 @@ exports.setup = function (scenario, players) {
if (players.length != 2)
throw new Error("Invalid player count: " + players.length);
game = {
+ tournament: (scenario == "Tournament"),
state: null,
show_cards: false,
year: 705,