A very very simple simulation of the very simplest version of the light controlled motor circuit. One of these on the left and one on the right. The photoresistor, with tape over it to keep it from activating the touch sensors in the screen, is placed facing the block displayed on the cell phone screen. When the block is white, the motor moves. When it's black, the motor stops.
You can play with it here:
1. Can't go backward. (A more complex circuit might do that)
2. No speed regulation. (But the phone can use the compass / IMU to stay on course)
3. Very limited power (resistive drop through transistor, meh)
Note that the batteries shown here are just a sample. AA's or a USB battery are probably a less costly option.