Collect the maximum number of points by opening the cubes! Some cubes have bombs, they take -25% of HP.
And having found gold you can recover HP and get 999 points!