Brains is and IF (interactive fiction) game written in python and xml. It largely uses the python library PyF written by Tuomas Kanerva.