separated valid input tests - moved toggle player into make move function