def __init__(self): """ Show options screen and start game modules""" # start self.gamma = 0.5 #discount factor self.learning_rate = 0.1 self.gui = ui.Gui() self.board = board.Board() self.get_options()
def __init__(self) -> None: """ Initialize options and game screen, and sets up two white stones and two black stones in the middle of the board. """ # start self.gui = ui.Gui() self.board = board.Board() self.get_options()
def __init__(self): self.gui = ui.Gui() self.board = board.Board() self.get_options()
def __init__(self): """ Show options screen and start game modules""" # start self.gui = ui.Gui() self.board = board.Board() self.get_options()
def __init__(self): # start self.gui = ui.Gui() self.board = board.Board() self.gui.show_menu(self.start)
def main(): # initialize the pygame module gui = ui.Gui() board = Board() n_p, o_p = get_options(gui, board) run(gui, board, n_p, o_p)