From d4dbbd9ed59115a26aa044723e293c9a60dc460b Mon Sep 17 00:00:00 2001 From: P Gautam <92343715+PGautam27@users.noreply.github.com> Date: Fri, 7 Oct 2022 19:11:28 +0530 Subject: [PATCH] Removed random ai --- scripts/MiniMaxAlgo/player.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/MiniMaxAlgo/player.py b/scripts/MiniMaxAlgo/player.py index 34e997c..30cbea5 100644 --- a/scripts/MiniMaxAlgo/player.py +++ b/scripts/MiniMaxAlgo/player.py @@ -27,15 +27,6 @@ class HumanPlayer(Player): except ValueError: print('Invalid square. Try again.') return val - - -class RandomComputerPlayer(Player): - def __init__(self, letter): - super().__init__(letter) - - def get_move(self, game): - square = random.choice(game.available_moves()) - return square class SmartComputerPlayer(Player): def __init__(self, letter):