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 | |
parent | cb73d0710b0eb84d4f788ff9b1d36ed0b02bf970 (diff) | |
download | server-5b665a840bd3193c9be7b21fbe6f66e119e92d74.tar.gz |
New time control.
Diffstat (limited to 'public')
-rw-r--r-- | public/docs/tips.html | 43 | ||||
-rw-r--r-- | public/join.js | 13 |
2 files changed, 37 insertions, 19 deletions
diff --git a/public/docs/tips.html b/public/docs/tips.html index 1faa5eb..8e331c7 100644 --- a/public/docs/tips.html +++ b/public/docs/tips.html @@ -82,27 +82,44 @@ Use this if you need to check something on the map that is obscured. For everyone's enjoyment, please respect the pace requests! If someone wants a fast game, don't join if you can only play one move per day. +<p> +Each player has a clock that ticks down while it's their turn. +When the clock runs out, they forfeit the game. +Each time a player takes a move, they get some time back on the clock, but there's a limit to how +much time you can accumulate. + <dl> -<dt> Live + +<dt> No time control <dd> -Let your opponents know if you're going away! -If you need to resume the game another day, arrange a time when you can all continue, -or agree to continue playing at a different pace. +For friendly games without an enforced pace. -<dt> Fast +<dt> +Live / Blitz (7+ moves per day) +<dd> +24h +4h/move up to 72h <dd> -Turn on notifications so you can take your turns promptly. -If you see that your opponent is online (the dot next to their name is filled in) -then stay in the game for a while and perhaps you can play live for a bit. -<dt> Slow +<dt> +Fast (3+ moves per day) +<dd> +48h +12h/move up to 120h <dd> -If you create a game and know you can not play more than one move per day, -please pick this option to set the appropriate expectations. -<dt> Any +<dt> +Slow +(1+ move per day) <dd> -Anything goes. Read the game notice and adapt! +72h +36h/move up to 240h </dl> +<p> +When playing live, let your opponents know if you're going away! +If you need to resume a live game another day, schedule a time when you can continue. + +<p> +Turn on notifications so you can take your turns promptly. +If you see that your opponent is online (the dot next to their name is filled in) +then stay in the game for a while and perhaps you can play live for a bit. + 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) |