New answers tagged

2

What you should do, is store neighbor information in each of your Tile objects. This way, it makes things a heck of a lot easier when dealing with this type of game logic. public class Tile { public Tile Left; public Tile Right; public Tile Top; public Tile Bottom; } Associate these neighbors in your initialization code ...


0

I googled css layers and came up with a lot of useful resources, for example: This one What you could do is take another loop over your gameboard, and fill it with fully transparent edges and corners, layering it on top of your current board.



Top 50 recent answers are included