the minimax is the only algo actually working :'(