platformer code base