summaryrefslogtreecommitdiff
path: root/rules.js
blob: bd955701a5ba9d487b0285b5a38b604d42456cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
	}
}