summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-08-22 12:46:59 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-22 13:23:33 +0200
commit2d0cccee7c78c5b7ba8f96c88d44020932b35be9 (patch)
tree328a1eeac5e0b2521b6b21596ec8a79f1f30bd24 /play.js
parent152f3965d2b73b73592d7795ce1e000e631eea5c (diff)
downloadmaria-2d0cccee7c78c5b7ba8f96c88d44020932b35be9.tar.gz
import friedrich changes
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/play.js b/play.js
index 91b8898..53bf33a 100644
--- a/play.js
+++ b/play.js
@@ -133,6 +133,8 @@ function to_suit(c) {
}
function to_value(c) {
+ if (to_suit(c) === 4)
+ return 8
return c & 15
}
@@ -973,7 +975,7 @@ function on_update() {
action_button("end_turn", "End turn")
confirm_action_button("confirm_end_movement", "End movement",
- "You still have UNMOVED pieces.?")
+ "You have NOT moved ANY pieces!\nAre you sure you want to SKIP movement?")
action_button("undo", "Undo")