set NUM_HEARTS