Package-level declarations
Overview
Active game screen with interactive board, move controls, and real-time game state display.
Components
GamePage— Main game page composableGamePageView— Game board and controls viewGamePageViewModel— Game state management and move coordinationutils/— Helper utilities for game rendering and interactions
Responsibilities
Rendering the interactive game board
Handling player move input
Displaying current game state (scores, turn, available moves)
Managing game flow (play, pass, forfeit)
Providing visual feedback for moves and captures
Types
View model for the game page managing game state, UI updates, and user interactions. Handles game move execution, state polling for multiplayer games, and sound effects.
UI state for the game page.
Functions
Main game page displaying the Reversi board, player scores, and game controls. Manages game music playback and periodic game state refreshes for multiplayer games.
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.