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

Function make_move

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

Place the letter on the board at the given position.

(board: List[str], letter: str, move: int)

Source from the content-addressed store, hash-verified

66
67
68def make_move(board: List[str], letter: str, move: int) -> None:
69 """Place the letter on the board at the given position."""
70 board[move] = letter
71
72
73def is_winner(board: List[str], le: str) -> bool:

Callers 2

get_computer_moveFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected