Renamed endGame to playerDead