Hi, I'm new to programming (I know almost nothing) and I've been playing with construct 2 these past days. I'm trying to make a board game.
The game is played on top of a 6x6 checkered board. One mechanic I'm trying to implement is that if in a row or column there are at least 3 tokens of the same player, these tokens are locked and can't be removed by another player's token.
For the tiles I'm using a single object with multiple instances.
The object has the instance variable "Owner" and the value changes to the number of the player. I want to pick all instances that share the same values in X and Owner or Y and Owner. Any help on how to do it?
Thank you so much!.