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

Function is_board_full

Tic-Tac-Toe Games/tic-tac-toe5.py:169–171  ·  view source on GitHub ↗

Return True if the board has no free spaces.

(board: List[str])

Source from the content-addressed store, hash-verified

167
168
169def is_board_full(board: List[str]) -> bool:
170 """Return True if the board has no free spaces."""
171 return all(not is_space_free(board, i) for i in range(1, 10))
172
173
174def main() -> None:

Callers 1

mainFunction · 0.70

Calls 1

is_space_freeFunction · 0.85

Tested by

no test coverage detected