Mr. Random [...and on youtube]
Forget to spin the bottle or throw common dice at your next party --- Mr. Random is in the house. Driven by two hacked (continuous rotation) servos, Mr. Random wanders around on your floor. If the tactile sensor hits an obstacle, the robot reverses, stops, produces a random number from 1 to 6 on LEDs that are similar to the pips on the side of a dice and emits a strange sound.
After the die is cast, the robot turns left or right, depending on a pseudo-random number, which is generated by the random command and activated by the tactile sensor.
2010.06.07: Circuit diagram of Mr. Random attached.