結果 : how to implement minimax algorithm in python