Grid
@Composable
Renders the board grid with cells, pieces, and animated indicators for valid moves. Supports animation feedback for available moves in target mode.
Parameters
target
Whether to show available move indicators with animation.
gameState
Current game state containing board and player information.
modifier
Optional composable modifier for layout adjustments.
freeze
Whether to prevent user interaction with cells.
getAvailablePlays
Lambda returning list of available move coordinates.
onCellClick
Callback invoked when a board cell is clicked.