As you climb to the top of the castle...
Solve the puzzle
Find and open portals to advance to the next floor
Choose a room to go to
Game Over: You lose
Game Over: You Win!