lib/journey.rb
# Logic that handles when a player chooses Fight
Logic that handles when a player chooses Fight
Logic that handles when a player chooses Fight
def fight
    display_hero_attack(attack_resolver(hero, monster))
    if monster.current_health > 0
      display_monster_attack(attack_resolver(monster, hero))
    else
      hero_win
    end
  end
def fight display_hero_attack ( attack_resolver ( hero , monster ) ) if monster . current_health > 0 display_monster_attack ( attack_resolver ( monster , hero ) ) else hero_win end end
Logic that handles when a player chooses Fight
Logic that handles when a player chooses Fight