0
Here's a tic-tac-toe program I wrote in python. How can I improve it(eg. make it more readable) ?
class Gameboard():
def __init__(self):
self.gameboard = {1:' ' , 2: ' ', 3: ' ', 4:' ', 5:' ', 6:' ', 7:' ', 8:' ', 9:' '}
def setPeice(self, user, position, gameboard):
gameboard[pos...