Hello hello Everyone,
I got a bit of a doozy here, I currently am trying to work on a pet project of mine, and have run into a snag.
In short for those who have played triple triad, I am attempting to replicate the card system, however cannot figure out how to compare two game objects once played.
I have built a database using the following format
items.Add(new Item("Bob", 4,5,6,7));
When played, (there is a small game object defining the points where the cards “lock” once played) how can i have it check the surrounding tiles to see if there is a card with the “enemy”(or similar tag) and check the variables set by the database, and compare the two.
for those not familiar with Triple Triad, the following link will provide a description of the game
Thanks for the help!