Thank you! There's no win condition, you just rack up points for as long as you can/feel like. The doors are how you escape the tomb, so that you don't die and retain your score. The chests are the less valuable score item, the other being the ankhs.