import React from "react"; import Typography from "@mui/material/Typography"; import { opponentList } from "../boardState/goConstants"; import { getScore } from "../boardAnalysis/scoring"; import { Player } from "@player"; import { Grid, Table, TableBody, TableCell, TableRow } from "@mui/material"; import { GoGameboard } from "./GoGameboard"; import { boardStyles } from "../boardState/goStyles"; import { useRerender } from "../../ui/React/hooks"; import { getBonusText } from "../effects/effect"; import { GoScoreSummaryTable } from "./GoScoreSummaryTable"; export const GoStatusPage = (): React.ReactElement => { useRerender(400); const classes = boardStyles(); const score = getScore(Player.go.boardState); const opponent = Player.go.boardState.ai; return (