More UI tweaks and fixes.
This commit is contained in:
parent
20c882e5f1
commit
e9909fa967
@ -1060,8 +1060,8 @@ input::placeholder {
|
||||
/* Round winner highlight */
|
||||
.opponent-area.round-winner h4,
|
||||
.player-area.round-winner h4 {
|
||||
background: rgba(200, 255, 50, 0.7);
|
||||
box-shadow: 0 0 15px rgba(200, 255, 50, 0.9), 0 0 30px rgba(200, 255, 50, 0.5);
|
||||
background: rgba(200, 255, 50, 0.6);
|
||||
box-shadow: 0 0 8px rgba(200, 255, 50, 0.5);
|
||||
color: #0a2a10;
|
||||
}
|
||||
|
||||
|
||||
@ -828,6 +828,8 @@ class Game:
|
||||
If the player has revealed all cards and is the first to do so,
|
||||
triggers FINAL_TURN phase where other players get one more turn.
|
||||
|
||||
In FINAL_TURN phase, reveal all of the player's cards after their turn.
|
||||
|
||||
Args:
|
||||
player: The player whose turn just ended.
|
||||
"""
|
||||
@ -835,6 +837,10 @@ class Game:
|
||||
self.finisher_id = player.id
|
||||
self.phase = GamePhase.FINAL_TURN
|
||||
self.players_with_final_turn.add(player.id)
|
||||
elif self.phase == GamePhase.FINAL_TURN:
|
||||
# Reveal this player's cards immediately after their final turn
|
||||
for card in player.cards:
|
||||
card.face_up = True
|
||||
|
||||
self._next_turn()
|
||||
|
||||
|
||||
BIN
server/games.db
BIN
server/games.db
Binary file not shown.
Loading…
Reference in New Issue
Block a user