Hey... I am trying to make a board which is sort of like a maze. It is 10 by 10 and has some blocks in it preventing you from going through. It's going to be for a game similar to PacMan. Now, I have a listbox with all of the squares that either you can or cannot go to (your choice, just tell me when you respond). Now from this list I will need several things done. I will need to make those squares be a different color than the rest, it can be painted directly on the form. Then I will also need two other listboxes to be populated with data of allowable moves... one for FROM and one for TO. So for example, if the player is on box x and can move to the box to the right of it (which means that box x + 1 is an allowable place for the player to be, and it is adjacent to it and not at the beginning of another row), it will do from.additem x and to.additem x + 1. It should also allow moving down (x and x + 10 when x < 90), up (x and x - 10 when x > 10), and left (x and x - 1 when the square is NOT at the beginning of a row). Yeah, thats quite a bit but i think that using a few formulae it shouldn't be that hard.
Thanks for taking your time to read, and if you aren't hitting the back button... thanks even more :)