MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / spaceIsFree

Function spaceIsFree

Tic_Tac_Toe/tic_tac_toe.py:14–15  ·  view source on GitHub ↗
(pos)

Source from the content-addressed store, hash-verified

12 board[pos] = letter
13
14def spaceIsFree(pos):
15 return board[pos] == ' '
16
17def printBoard(board):
18 print(' ' + board[1] + ' | ' + board[2] + ' | ' + board[3])

Callers 1

playerMoveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected