MCPcopy Create free account
hub / github.com/asweigart/PythonStdioGames / updateBoard

Function updateBoard

src/gamesbyexample/tictactoe.py:93–95  ·  view source on GitHub ↗

Sets the space on the board to mark.

(board, space, mark)

Source from the content-addressed store, hash-verified

91
92
93def updateBoard(board, space, mark):
94 """Sets the space on the board to mark."""
95 board[space] = mark
96
97
98if __name__ == '__main__':

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected