As a crash course in learning the basics of Pygame, I wrote a quick little Activity for the OLPC XO. It is a clone of xeyes, except instead of following the mouse cursor, it uses the webcam to be creepy and follow your face. It’s a bit slow, and kind of messy, but I did only make it for learning purposes.
It uses OpenCV, so you’re going to need a version of it that works on the XO. The latest source from CVS works, or you can install a patched rpm of it that I hacked together:
You’ll also need the opencv-python package, which is available in the repository.
sudo yum install opencv-python
You can get the .xo itself here: PyEyes-1.xo