hey guys!,Im new to this forum and it is great! :eek: .Just wanna ask some suggestions for my project.I am planning to make a game called Minesweeper.
Minesweeper (computer game) - Wikipedia, the free encyclopedia
so these are my thoughts: :rolleyes:
1. i want to make my box/square a JLabel (a class that's extends a JLabel).
2. each box has its own attributes/values (bomb, number/clue, etc...);
3. and place those box object in a 2d array.
1. is it ok if i use JLabel instead of JButton for the box?
2. is it the right thing to put those box into 2dimensional array,if not can u suggest a better one? :o
3. how each box can communicate with their 8 neighbor boxes?
hope you can help me.