Don't accept bad moves.

Ensures number of plies stays 0 if illegal input.