Every time the snake "moves," the final portion is chopped off and added to the front. Make a duplicate of the head, attach it to the snake's front, and then remove the final portion.