export default function GolfPlayAppGaming({ problem, onCodeChange, currentScore, }: { problem: string; onCodeChange: (code: string) => void; currentScore: number | null; }) { const handleTextChange = (e: React.ChangeEvent) => { onCodeChange(e.target.value); }; return (
{problem}
{currentScore == null ? "Score: -" : `Score: ${currentScore}`}