DrawBoard
@Composable
Composable rendering the interactive Reversi game board. Displays the grid, pieces, and available moves (if target mode is enabled). Handles user clicks for piece placement with click blocking during animations.
Parameters
target
Whether to show available move indicators.
gameState
Current game state containing board and player information.
modifier
Optional composable modifier for layout adjustments.
freeze
Whether to prevent user interaction with the board.
getAvailablePlays
Lambda returning list of available move coordinates.
onCellClick
Callback invoked when a board cell is clicked with the coordinate.