NewGamePageView

@Composable
private fun ReversiScope.NewGamePageView(modifier: Modifier, onClick: (Game, Int, String?) -> Unit)

Shared UI for new game page with piece selection and game initiation. Provides input fields for game name, player name, board size, and a dropdown menu for piece selection.

Parameters

modifier

The modifier for layout customization.

onClick

Callback invoked when the user confirms game creation with selected piece, board size and player name.