moved infection rate into game variable