i guess for number 1) u could have some kind of grid system snapping each piece to a cell on the grid, then u can check the grid of the neighbors of the piece u have just placed, but keeping the layout of the grid in a 2d array you could then solve point 2) by scanning thru the array, when u get to a block in the grid checking the array around that block e.g if you get to element 2,2 of the array and it contains a piece of wall check check 2,1 - 2,3 - 1,2 - 3,2 to see if they contain a connected piece, thus you'll know if the wall is complete or not. hope this makes sense or helps
Game Idea in mind..some questions
BlitzMax Forums/BlitzMax Programming/Game Idea in mind..some questionsThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.