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
class MinimaxPlayer(IsolationPlayer): | |
"""Game-playing agent that chooses a move using depth-limited minimax | |
search. You must finish and test this player to make sure it properly uses | |
minimax to return a good move before the search time limit expires. | |
""" | |
def get_move(self, game, time_left): | |
"""Search for the best move from the available legal moves and return a | |
result before the time limit expires. |
NewerOlder