All in game. The aim is to get past the obstacles to the purple portal/door. This gets progressively harder. Your life count is shown at the bottom. Don't lose them or you will have to restart.