summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 56d4411..1e88747 100644
--- a/rules.js
+++ b/rules.js
@@ -2757,9 +2757,11 @@ states.game_over = {
// SETUP
+exports.ready = function (scenario, players) {
+ return players.length === 2;
+}
+
exports.setup = function (scenario, players) {
- if (players.length != 2)
- throw new Error("Invalid player count: " + players.length);
game = {
state: null,
year: 1801,