Hello, I've just finished most of the junior programmer course and making a new game by myself.
I'm making an old-type tile-matching puzzle game "SameGame".
In the Game Manager script, I've made a list of items and 2D array of GameObjects, and put a random item in each element.
To each items I attached a script to destroy it when clicked.
Next, I want to make the adjacent items to destroy as well if they are same, and repeat it.
I searched in the internet for sample code, but can't find...
How to make a traditional puzzle game "SameGame"?
I'm making an old-type tile-matching puzzle game "SameGame".
In the Game Manager script, I've made a list of items and 2D array of GameObjects, and put a random item in each element.
To each items I attached a script to destroy it when clicked.
Next, I want to make the adjacent items to destroy as well if they are same, and repeat it.
I searched in the internet for sample code, but can't find...
How to make a traditional puzzle game "SameGame"?