level lib for pigs-game and pigs-game editor