tutorialsPythonBasic.medium.tictactoe.base module

A basic implementation of the TicTacToe game which can be played by two human players.

class tutorialsPythonBasic.medium.tictactoe.base.TicTacToe[source]

Bases: builtins.object

A class for the TicTacToe game.

change_players()[source]
check_win()[source]
get_move()[source]
get_possible_moves()[source]
make_move(n)[source]
play()[source]
tutorialsPythonBasic.medium.tictactoe.base.check_same(li)[source]