update player death
convert explosions to sprite group
refactoring code