Drop links or images here to add them to the editor.

Move

Move the entire snake, this means extending it in one direction and removing the tail. To make things easier we provide you with a solution to the previous excersise (extend). As an extra challange try to implement this function without using pattern matching.