Added noMove checking and board resetting