tic tac toe -site:medium.com -site:towardsdatascience.com code example Example: play tic tac toe x | o |x | o | | x |