Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
def
create_board() -> np.ndarray:
32
""
"Return an empty 3x3 Tic-Tac-Toe board."
""
33
return
np.zeros((3, 3), dtype=int)
34
35
36
def
possibilities(board: np.ndarray) -> List[Tuple[int, int]]:
Callers
1
play_game
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected