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

Function isBoardFull

Tic_Tac_Toe/tic_tac_toe.py:24–28  ·  view source on GitHub ↗
(board)

Source from the content-addressed store, hash-verified

22 print(' ' + board[7] + ' | ' + board[8] + ' | ' + board[9])
23
24def isBoardFull(board):
25 if board.count(' ') >= 2:
26 return False
27 else:
28 return True
29
30
31def IsWinner(b,l):

Callers 2

TieGameFunction · 0.85
GamePlayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected