<filename>mini-apps/tic-tac-toe-full/main.py<gh_stars>0
# # import tic tac toe module
# import tic_tac_toe_module as ttt

# # players
# players = ['X','O']

# # generate random board
# board = ttt.generate_board()
# # print(board)

# # check for both players
# for player in players:
#     # check if win
#     win = ttt.check_win(board, player)
    
#     # if no win, check for tie
#     if not win:
#         tie = ttt.check_tie(board)






<filename>mini-apps/tic-tac-toe-full/main.py<gh_stars>0
# # import tic tac toe module
# import tic_tac_toe_module as ttt

# # players
# players = ['X','O']

# # generate random board
# board = ttt.generate_board()
# # print(board)

# # check for both players
# for player in players:
#     # check if win
#     win = ttt.check_win(board, player)
    
#     # if no win, check for tie
#     if not win:
#         tie = ttt.check_tie(board)






# # import tic tac toe module # import tic_tac_toe_module as ttt # # players # players = ['X','O'] # # generate random board # board = ttt.generate_board() # # print(board) # # check for both players # for player in players: #     # check if win #     win = ttt.check_win(board, player) #     # if no win, check for tie #     if not win: #         tie = ttt.check_tie(board)