Last active
March 4, 2018 00:32
-
-
Save salma71/aa729893e5994c7c03ac74134cf829b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def computer_move(board) | |
win_move(board) || block(board) || corner(board) || middle_corner(board) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment