in "lord of the flies", how does Ralph react when a boar comes charging down the path?
When Ralph is first asked to join the hunt he has a mixture of apprehension and happiness. He is glad to be a part of the hunt, but also wary since he has never done anything like this before. Ralph is much more analytical in his talents than hunting typically allows. That's why he gravitates toward being in charge of the shelter and designating jobs to other survivors.
That colder, analytical side aids Ralph in the hunt though. When the boar starts to charge Ralph's reaction is described like this:
"Ralph found he was able to measure the distance coldly and take aim. With the boar only five yards away, he flung the foolish wooden stick that he carried, saw it hit the great snout and hang there for a moment."
Ralph doesn't get flustered or freaked out or anything of the sort. He coldly takes aim and hits his mark. There is a hint though that he doesn't think he will be successful, which is why the spear is described as a "foolish wooden stick."
The boar runs off, but Ralph is extremely full of pride and self-glory. He brags to the other boys that he hit the animal. But it's almost like Ralph is hunting for affirmation from the other boys for his deed. "He tried for their attention" is written and just before that "He felt the need of witnesses." Ralph is super proud of his bravery and seems to want other people to acknowledge it. He feels that he has done something to be a part of this group, but also still feels like he is an outsider despite his deed.