Collect blue gems to get more points. If you get ten points you win. But if you get red gems you lose one point.