From 5d5f3baa5ae2197fec783ace10d03952e669ed1e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 15 Sep 2023 19:17:32 +0200 Subject: 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. --- views/join.pug | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'views/join.pug') 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 – many moves per day. + when 3 + p #{EMOJI_SLOW} Slow – one move per day. + if game.notice p i= game.notice -- cgit v1.2.3