Im creating a match 3 game like toon blast and I have an array called : array_element that has the cells data if it's full or empty.
So I'm trying to have a transparent background with yellow stroke on behind of each cell and if there is no element it will have no background but if there is element in the cell we check it's neighboring cell (top,left,right,bottom) to see if it's it's empty or full and so on.
Its a little bit complex that's why I couldn't figure a way around it
Also I have to create different sprites like top left border and bottom left border etc ......