Implemented computer AI using minimax