change line 206 to this to make it run on newer versions of python:
self.fire.add(Particle(self, random.randint(int(self.fire_pos[0]),int(self.fire_pos[1])), HEIGHT + random.randint(0, 100)))
My python version is 3.10.Thanks for the suggestion. I’ll change it