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

Function insertLetter

Tic_Tac_Toe/tic_tac_toe.py:10–12  ·  view source on GitHub ↗
(letter,pos)

Source from the content-addressed store, hash-verified

8
9#insert tic tac toe symbol to screen
10def insertLetter(letter,pos):
11 if(board.count(' ') >= 1):
12 board[pos] = letter
13
14def spaceIsFree(pos):
15 return board[pos] == ' '

Callers 2

playerMoveFunction · 0.85
GamePlayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected