The Attraction Pirate Ship is built from the Lego Spike Essential educational kit. After starting the program, the ship makes oscillatory movements by scrolling the wheel. There is a belt drive to rotate the wheels.
The set includes step-by-step building instruction and an example of program (in Spike environment).