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

Function print_board

Tic-Tac-Toe Games/tic-tac-toe1.py:21–25  ·  view source on GitHub ↗

Print the Tic-Tac-Toe board.

(board: Board)

Source from the content-addressed store, hash-verified

19
20
21def print_board(board: Board) -> None:
22 """Print the Tic-Tac-Toe board."""
23 for row in board:
24 print(" | ".join(row))
25 print("-" * 9)
26
27
28def check_winner(board: Board, player: str) -> bool:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected