Found out bug is in minimax algo, doesn't tag into account which plater is playing