implemented player death