Package-level declarations
Overview
End game screen displaying final results, winner announcement, and options to play again.
Responsibilities
Showing winner and final scores
Displaying game statistics
Offering options to return to menu or start a new game
Types
Link copied to clipboard
class WinnerPageViewModel(val scope: CoroutineScope, val game: Game, val globalError: ReversiException?, val setGlobalError: (Exception?, ErrorType?) -> Unit) : ViewModel<WinnerUiState>
Link copied to clipboard
data class WinnerUiState(val screenState: ScreenState = ScreenState(), val winner: Player? = null, val gameName: String? = null, val onLeave: suspend () -> Unit) : UiState
Functions
Link copied to clipboard
Link copied to clipboard
@Composable
Link copied to clipboard
Link copied to clipboard