A webcam is positioned at the top of the water tank which tracks the movement by detecting the contrast between the fish at the bottom of the tank and relays them to Arduino.The programmed chip then mimics the fish's movements by driving the vehicle in the same direction!!
Isn't it facinating!! Do you like to make one then why don't you start with basics of arduino programming from Advance level.
Source: Engadget