I have a recurring error in my code:
line 424, in <module>
menu() line 50, in menu
main1v1() line 396, in main1v1
showPoints(playerTile, opponentTile)
line 307, in showPoints
scores = getScoreOfBoard(mainBoard)
NameError: name 'mainBoard' is not defined
I cannot seem to fix it. These two definitions are where the trouble is I believe. I am currently coding for a game called Othello, but now when I am trying to create a 1v1 instead of the previous 1vAI it creates some problems.