Here is another robot designed to teach kids how to code. Kamibot has an open source programming interface and can be customized with paper craft skins. It has IR sensors to follow lines in addition to 2 DC motors to move and a servo motor to rotate its head.
The Kamibot relies on ultrasound sensors to detect obstacles in front of it. It also has smartphone control.