summaryrefslogtreecommitdiff
path: root/views/join.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-15 19:17:32 +0200
committerTor Andersson <tor@ccxvii.net>2023-09-20 20:29:16 +0200
commit5d5f3baa5ae2197fec783ace10d03952e669ed1e (patch)
tree1b22bf8d4f52873fdbee0aca5b2ffcf0803fd8e9 /views/join.pug
parent58530e70bbd741d29fbc7b7904c37dcbc3ec1648 (diff)
downloadserver-5d5f3baa5ae2197fec783ace10d03952e669ed1e.tar.gz
Add pace property to games.
Currently unenforced and only visual effect in game listings.- Future time control and user penalty features may make use of it.
Diffstat (limited to 'views/join.pug')
-rw-r--r--views/join.pug8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/join.pug b/views/join.pug
index 3110bd3..5c3c296 100644
--- a/views/join.pug
+++ b/views/join.pug
@@ -61,6 +61,14 @@ html
unless game.human_options === "None"
p Options: #{game.human_options}.
+ case game.pace
+ when 1
+ p #{EMOJI_LIVE} Live!
+ when 2
+ p #{EMOJI_FAST} Fast &ndash; many moves per day.
+ when 3
+ p #{EMOJI_SLOW} Slow &ndash; one move per day.
+
if game.notice
p
i= game.notice