sorry that, i did not mention, i use a button click to control the movement.
If so just remove the sleep statements and your loop and do only the following:
playerStep += 10;
repaint();
But if the button is only starting the movement (which means you will not need to press the button on each movement), then you still should not have "isClick = false;" there. You can place it inside an if statement in that case:
if (playerStep == 100) isClick = false;