MINIMAX ALGORITHM BASED ON