diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-07-23 21:18:08 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-20 13:56:22 +0200 |
commit | 5b665a840bd3193c9be7b21fbe6f66e119e92d74 (patch) | |
tree | db77f95672db121ee608b9ddcd57a2f7434ce5b4 /public/join.js | |
parent | cb73d0710b0eb84d4f788ff9b1d36ed0b02bf970 (diff) | |
download | server-5b665a840bd3193c9be7b21fbe6f66e119e92d74.tar.gz |
New time control.
Diffstat (limited to 'public/join.js')
-rw-r--r-- | public/join.js | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/public/join.js b/public/join.js index 08e56fb..81fc665 100644 --- a/public/join.js +++ b/public/join.js @@ -2,11 +2,11 @@ /* global game, roles, players, blacklist, user_id */ -const pace_text = [ - "", - "Live!", - "Fast \u2013 many moves per day", - "Slow \u2013 one move per day", +const PACE_TEXT = [ + "No time control", + "7+ moves per day", + "3+ moves per day", + "1+ moves per day", ] let start_status = 0 @@ -321,7 +321,8 @@ function create_game_list() { if (game.scenario !== "Standard") create_game_list_item(list, "Scenario", game.scenario) create_game_list_item(list, "Options", format_options(game.options)) - create_game_list_item(list, "Pace", pace_text[game.pace]) + if (game.pace > 0) + create_game_list_item(list, "Pace", PACE_TEXT[game.pace]) create_game_list_item(list, "Notice", game.notice) if (game.owner_id) |