Skip to content

Instantly share code, notes, and snippets.

robinovitch61

Block or report user

Report or block robinovitch61

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View recurse_tac_toe.py
# IDEAS FOR COMPUTERIZED OPPONENT:
# [] Add prompt for 1 Player or 2 Player at start of game
# [] Based on number of players, override player selection with random computer selection
# [] Once random selection is working, add more intelligent computer selection (some ideas):
# * If computer could win game, it should win game
# * If computer can put board in state where next move it could win game, it should do that move
# * If computer can put board in state where next move it could win game REGARDLESS of human selection, do that move
# * Apply deep learning on millions of games of tic tac toe to become the ultimate RecurseTacToe algorithm (just kidding :D)
You can’t perform that action at this time.