Improve table legibility and showdown focus
This commit is contained in:
@@ -26,6 +26,8 @@ data class PotAwardSummary(
|
||||
*/
|
||||
data class HandSummary(
|
||||
val handNumber: Int,
|
||||
/** Public community cards retained so the modal can explain the winning hand. */
|
||||
val board: List<Int>,
|
||||
/** Display labels in the engine's winner order; the human seat is always "You". */
|
||||
val winnerLabels: List<String>,
|
||||
/** Derived from winner seat indices, never from a player-controlled name. */
|
||||
@@ -101,6 +103,7 @@ fun handSummaryFor(
|
||||
|
||||
return HandSummary(
|
||||
handNumber = handNumber,
|
||||
board = result.board.toList(),
|
||||
winnerLabels = result.winners.map { winner ->
|
||||
if (winner == heroSeat) "You" else seatNames[winner]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user