diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-03-23 13:20:05 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-03-24 01:06:00 +0100 |
commit | cad436948eb438b394a44073e9aeb2f73537f6f5 (patch) | |
tree | cb585df548c103a79ce47dfee7c9c17e477449e2 | |
parent | 603227b60efb015854c9a7b0be0ffd01747cdb10 (diff) | |
download | land-and-freedom-cad436948eb438b394a44073e9aeb2f73537f6f5.tar.gz |
reword some messages. hide panels for observer.
-rw-r--r-- | play.css | 3 | ||||
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | rules.js | 6 | ||||
-rw-r--r-- | rules.ts | 6 |
4 files changed, 9 insertions, 8 deletions
@@ -93,7 +93,8 @@ body header.fascist.your_turn { background-color: hsl(30, 35%, 65%); } display: none; } -body.Observer #hand_panel { +body.Observer #hand_panel, +body.Observer #toggle_trash { display: none; } @@ -32,7 +32,7 @@ </menu> </details> <button onclick="toggle_pieces()"><img src="/images/earth-africa-europe.svg"></button> - <button onclick="toggle_trash()"><img src="images/all-seeing-eye.svg"></button> + <button id="toggle_trash" onclick="toggle_trash()"><img src="images/all-seeing-eye.svg"></button> </div> </header> @@ -2427,7 +2427,7 @@ function resolve_final_bid() { for (const c of game.selected_cards[f]) { player_bid += cards[c].strength; } - log(`${faction_player_map[f]} bids ${player_bid}`); + log(`${faction_player_map[f]} bid ${player_bid} cards`); if (player_bid === highest_bid) { winners.push(f); } @@ -2791,11 +2791,11 @@ function resolve_effect(effect, source) { } function win_final_bid(faction_id) { log_br(); - log(`${faction_player_map[faction_id]} wins the Final Bid`); + log(`${faction_player_map[faction_id]} won the Final Bid`); game.glory.push(faction_id); } function win_game(player, glory) { - game_over(player, `${player} wins the game with a total of ${glory} Glory!`); + game_over(player, `${player} won the game with a total of ${glory} Glory!`); } function draw_card(deck) { clear_undo(); @@ -2986,7 +2986,7 @@ function resolve_final_bid() { for (const c of game.selected_cards[f]) { player_bid += (cards[c] as PlayerCard).strength; } - log(`${faction_player_map[f]} bids ${player_bid}`); + log(`${faction_player_map[f]} bid ${player_bid} cards`); if (player_bid === highest_bid) { winners.push(f); } else if (player_bid > highest_bid) { @@ -3461,12 +3461,12 @@ function resolve_effect(effect: Effect, source?: EffectSource): EngineNode { function win_final_bid(faction_id: FactionId) { log_br(); - log(`${faction_player_map[faction_id]} wins the Final Bid`); + log(`${faction_player_map[faction_id]} won the Final Bid`); game.glory.push(faction_id); } function win_game(player: Player, glory: number) { - game_over(player, `${player} wins the game with a total of ${glory} Glory!`); + game_over(player, `${player} won the game with a total of ${glory} Glory!`); } // #endregion |