Analyzing evolutionary game theory in epidemic management: A study on social distancing and mask-wearing strategies