Soldato
- Joined
- 17 Apr 2003
- Posts
- 6,518
- Location
- hOme
Hey guys
i'm trying to create a grid of squares in java, not a visual grid but which can be used so that each square can store an individual symbol or character and you can find out the co-ordinates of the symbol at any time
i'm imagining you need to use some sort of array, but all the information i can find on the interweb is only telling me how to draw a grid, when all i really need is a list of co-ordinates for each square in the grid if that makes sense
any ideas? i can get my head around how its logically supposed to be done (you enter the X value for the array, and the Y value) but im stumped as to you actually go to start it
cheers guys
i'm trying to create a grid of squares in java, not a visual grid but which can be used so that each square can store an individual symbol or character and you can find out the co-ordinates of the symbol at any time
i'm imagining you need to use some sort of array, but all the information i can find on the interweb is only telling me how to draw a grid, when all i really need is a list of co-ordinates for each square in the grid if that makes sense
any ideas? i can get my head around how its logically supposed to be done (you enter the X value for the array, and the Y value) but im stumped as to you actually go to start it

cheers guys