MCPcopy Create free account
hub / github.com/geekcomputers/Python / create_board

Function create_board

Tic-Tac-Toe Games/tic-tac-toe4.py:31–33  ·  view source on GitHub ↗

Return an empty 3x3 Tic-Tac-Toe board.

()

Source from the content-addressed store, hash-verified

29
30
31def create_board() -> np.ndarray:
32 """Return an empty 3x3 Tic-Tac-Toe board."""
33 return np.zeros((3, 3), dtype=int)
34
35
36def possibilities(board: np.ndarray) -> List[Tuple[int, int]]:

Callers 1

play_gameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected