Source code from the moblife game