GamePage

@Composable
fun ReversiScope.GamePage(viewModel: GamePageViewModel, modifier: Modifier = Modifier, freeze: Boolean = false, onLeave: (Game) -> Unit)

Main game page displaying the Reversi board, player scores, and game controls. Manages game music playback and periodic game state refreshes for multiplayer games.

Parameters

viewModel

The game page view model containing UI state and game logic.

modifier

Modifier for layout adjustments.

freeze

When true, disables interactions with the board.

onLeave

Callback invoked when navigating back, receives the current game.