implemented player and death mechanics