Changed so non-legal moves cause player to repeat their move until
legal.