MINIMAX ALGORITHM IN ARTIFICIAL INTELLIGENCE