diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,2 +1,19 @@ exports.roles = [ "Maria Theresa", "Frederick", "Louis XV" ] exports.scenarios = [ "Standard", "Introductory" ] + +exports.setup = function (seed, scenario, options) { + return { + seed: seed, + log: [], + undo: [], + active: 0, // player + power: 0, // power + state: "setup", + } +} + +exports.view = function (state) { + return { + log: state.log + } +} |