Last active
March 3, 2018 23:55
-
-
Save salma71/438eba912f24f4e96e30bed3da719581 to your computer and use it in GitHub Desktop.
ttt-AI-logic-blog-post
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
module Players | |
class Computer < Player | |
def move(board) | |
computer_move(board) | |
end | |
def computer_move(board) | |
end | |
def middle_corner(board) | |
end | |
def corner(board) | |
end | |
def block(board) | |
end | |
def win_move(board) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment