I've had a game idea in my head for a while and I'm about to start putting it together. However the one aspect that has me drawing a blank is the wall building aspect.
If you check out this video
http://youtu.be/mKITmnmlzxM?t=1m20s
You will it's right at the point where the player is rebuilding his castle walls. To stay alive in rampart, you must completely surround a castle with walls. As you can see in the video, as soon as wall is completed, the area of the ground that it surrounds turns blue and we know the game can go on.
My question is this. If using a variety of pieces to build the wall (like tetris), what is would be the best way to determine if the wall is completed with no breaks?
I hope I am making sense :).