Ralph responds to the gradual loss of civilization and descent into madness as the boys start to believe the idea of the beast by thinking that there need to be more rules. He clings to the idea of a democracy with voting and with more structure. Once it becomes clear that the boys are much more interested in running off with Jack, Ralph gets rather depressed.
Piggy's response is to try and comfort Ralph. He tells him that things are going to work out just fine and that perhaps they ought to start a new signal fire on the beach rather then up on the mountain. This opportunity for structure is somewhat of a help to Ralph but then when they are attacked by Jack's group in the middle of the night, the crisis comes to a head.