盤面のセルの状態を表す型
セルには黒石、白石、または何も置かれていない状態(null)があります。
const emptyCell: Cell = null;const blackStone: Cell = "black";const whiteStone: Cell = "white"; Copy
const emptyCell: Cell = null;const blackStone: Cell = "black";const whiteStone: Cell = "white";
盤面のセルの状態を表す型
セルには黒石、白石、または何も置かれていない状態(null)があります。