level generation for some 2d game