The Snake is built from the Lego Wedo 2.0 educational kit. The movement occurs due to the operation of the worm gear. The distance sensor is set on the gift, that reacts when the snake leans towards the gift.
The set includes step-by-step building instructions and a example of program (in Lego Wedo 2.0 environment).