Server code for "The Chaos Platformer"