1 vote

CS50AI Tic tac toe game with minimax algorithm: I keep receive Invalid move

For the result function, you don't need to iterate through all the actions available for the given board. Instead you just need to return newboard which will result it the action parameter given in ...

Only top scored, non community-wiki answers of a minimum length are eligible