The walls are there to use as a tool to slow down the werewolves, in order for the archer towers to have time to shoot them before they feast on the villagers!