I have developed my own version of Puyo Puyo game as a part of an assignment. But i do not know swing or any graphics techniques to display everything. I have my logic in the form of a 2D array. In the array i have -1 to represent empty space on the board and 0-3 to represent four diff. colors. I have developed the logic for rotating, moving left, right etc. But i need to display the output using java swing (Its a part of the requirement).
Can any one help me with this??
I have tried to use JPanel and was able to display a few buttons (to start or stop the game) and an empty space in the middle of the frame. But i am not able to display colored circles in the panel. If my approach is incorrect then please let me know.