diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/rules.js b/rules.js new file mode 100644 index 0000000..eebf791 --- /dev/null +++ b/rules.js @@ -0,0 +1,27 @@ +"use strict" + +const FRENCH = "French" +const COALITION = "Coalition" + +var game = null +var view = null +var states = {} + +exports.roles = [ FRENCH, COALITION ] +exports.scenarios = [ "June 16-18", "June 15-18" ] + +exports.setup = function (seed, scenario, options) { + return { + seed, + scenario, + undo: [], + log: [], + active: FRENCH, + state: "setup", + pieces: [], + } +} + +exports.view = function (state) { + return state +} |