summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-18 02:20:39 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-20 19:00:52 +0200
commit7bf7e9d0b35e8d119ffcd601948ee81bee79085d (patch)
tree7ff3651006594a44c1ad51931badd228a2cd887c /rules.js
parent53bfb5e35be76a46645db2115d227c5555ce6832 (diff)
downloadfield-cloth-gold-7bf7e9d0b35e8d119ffcd601948ee81bee79085d.tar.gz
Mobile layout.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 9efcc19..1fc7734 100644
--- a/rules.js
+++ b/rules.js
@@ -146,7 +146,7 @@ exports.action = function (state, player, action, arg) {
return game
}
-exports.view = function(state, player) {
+exports.view = function (state, player) {
game = state
view = {
@@ -186,7 +186,7 @@ exports.view = function(state, player) {
view.actions.undo = 0
}
- return view;
+ return view
}
exports.resign = function (state, player) {