Implemented character attack and is_dead