field, the tic-tac-toe board, is global. Global variables aren't the best idea.
If they need the board, give it the board as one of the variables.
If it does something(beside printing the board), have it return the board as one of the variables
def doSomething(board):
_do some stuff_
return board
field, the tic-tac-toe board, is global. Global variables aren't the best idea.
If they need the board, give it the board as one of the variables.
If it does something(beside printing the board), have it return the board as one of the variables
def doSomething(board):_do some stuff_return board