Just reset on "R" if you get trapped. Also resetting couple of times can give you one free apple right next to you. I will update it tomorrow, i just don't know how. When you enter chunk, world generates under your feet, and if there is a wall - you get stuck.