Generation

class from descriptionWed, 16 Nov 2022

create a tic tac toe game with a char grid

class TicTacToe: def __init__(self): self.char_grid = [ ["-", "-", "-"], ["-", "-", "-"], ["-", "-", "-"] ] def display_grid(self): for row in self.char_grid: # print out the row for char in row: print(char, end="") print()

Want to kickstart your project?Use the new AI Studio to create your code