Factor out the croak() function for player death.