debugging chess arm movement