#163 split playerKilled and playerQuit into separate functions