The djinni wants you to choose your own demise, so he gives you a series of chests to open. Break a chest to reveal buffing crystals, treasure, or monsters.