Walk the paths between levels. Step onto a level and press Enter to open it. Clear every level, then reach the castle.