summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-20 16:45:15 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit87b73e5c218dc05f457e3ecb8156a18bc577c982 (patch)
tree1e6b0bee59b72c798852914b6d1faa53971a0761 /rules.js
parent2551858571a90fdd0f94e7bf0c2a5c6f786c6b5c (diff)
downloadnevsky-87b73e5c218dc05f457e3ecb8156a18bc577c982.tar.gz
Show real VP at end.
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 bfd56fa..5d43d7c 100644
--- a/rules.js
+++ b/rules.js
@@ -9958,9 +9958,9 @@ function goto_game_end() {
let vp1 = count_vp1()
let vp2 = count_vp2()
if (vp1 > vp2)
- goto_game_over(P1, `${P1} won with ${vp1} VP.`)
+ goto_game_over(P1, `${P1} won with ${vp1/2} VP.`)
else if (vp2 > vp1)
- goto_game_over(P2, `${P2} won with ${vp2} VP.`)
+ goto_game_over(P2, `${P2} won with ${vp2/2} VP.`)
else
goto_game_over("Draw", "The game ended in a draw.")
} else {