You sort of can't win it. You just go to the topmost room and see "Thanks for playing!" text. Don't blame me, my brother did the level design ;-)