Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ get_board_copy
Function
get_board_copy
Tic-Tac-Toe Games/tic-tac-toe5.py:94–96 ·
view source on GitHub ↗
Return a copy of the board.
(board: List[str])
Source
from the content-addressed store, hash-verified
92
93
94
def
get_board_copy(board: List[str]) -> List[str]:
95
""
"Return a copy of the board."
""
96
return
[b
for
b in board]
97
98
99
def
is_space_free(board: List[str], move: int) -> bool:
Callers
1
get_computer_move
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected