Making a puzzle game, need help!
Hey guys, Im creating a Bejeweled-like game where the player matches up 3 or more of the same color squares and it clears those squares.
Im having trouble setting it up though.
Right now Its gotten to the point where the main panel class has just a bunch of static variables and methods. I have a "block" class that contains info for each individual block, and I have an array of those in the main class. Its gotten messy fast.
How would one set up a game like bejeweled as far as classes and structure?
Nothing specific I guess, just basic structure.
Also, i cant figure out a way to have it detect when the blocks are in a row of three or more. Any suggestions of a basic detection strategy?
Again nothing specific, if you have any suggestions, let me know!
Thanks for the help