repainting and changing the position of the 'player' working