refactored attack_character method in games controller