There is no better way to learn electronics and robotics than building and programming Arduino robots. This Sentry Turret with Arduino project should prove interesting to Portal fans. It has arms that pop out and uses a proximity sensor to function.
You are going to need an ultrasonic sensor, Arduino Uno R3, 4 servos, and a few other parts to get started.
More info is available on Instructables.