GamePageView

@Composable
fun ReversiScope.GamePageView(modifier: Modifier = Modifier, game: Game, freeze: Boolean, getAvailablePlays: () -> List<Coordinate>, onCellClick: (coordinate: Coordinate) -> Unit, setTargetMode: (target: Boolean) -> Unit, pass: () -> Unit)

Main game view composable displaying the board and player information side-by-side. Combines the game board on the left with player scores and controls on the right.

Parameters

modifier

Optional composable modifier for layout adjustments.

game

The current game instance containing state and configuration.

freeze

Whether to disable board interactions.

getAvailablePlays

Lambda returning list of valid move coordinates.

onCellClick

Callback invoked when a board cell is clicked.

setTargetMode

Callback invoked to toggle target mode visibility.