minimax player works for 2+ players