I had the last days an Idea that i have finished today in my own Village that i wish to create. I hate walls of any kind and so I thought, i have wnough Pistons and slimeballs, my Redstone is more than sufficient....
I have a 2 Cobblestone wide Street from my Well, that is the center of my town. Houses are 5 Blocks wide and vour Blocks deep, I simply prefer these houses ^^ ... the houses are not ground, but +1 level. Wasting Res and so eh ;)
Now started the drag, in front of every door a hole, piston facing up inside and this at every house. Now placed a Stair on it for Villagers to enter their home.
Now i started digging under the street to add my redstone maze to my main house an one of the street ends where a Lever is that controlls the Pistons. To have no spawns in your tunnels down their, you have to fill every possible field with dirt.
Whenever night comes and 'my' villagers are at home, i simply switch the lever and the Stairs are elevated so that they create a barrier so that villagers are no more able to leave their homes and also zombies are not really abe to come inside, they might glitch inside, but all in all i feel quite save, and it is in my opinion a funny and INVISIBLE way to fortify your village. Invissible in daytime and in nighttime i am usually not out..
I had even thought about three stairs in front of each door and pushing all up, but for that i would waste way too many pistons.
Not i have used 16 Pistons so far and five repeater to get the power till to the last piston.