I am trying to make a card class that has a bunch of functions to make it possible for the AI to judge what cards can be played. The card game I am working on at the moment is Rummy by order of my brother. I made a 3 pointer instances of my card class. I think that I will use these to point at other instances and judge whether a card can be played or not. The problem is is that I am a fail at pointers so this whole section is completely useless unless I can figure out how to do this. So far, I have figured out how to declare them.
Card *test1;//I think that these will be able to point at other instances. Card *test2; Card *test3;//there are only 3 cards at most needed in each time you play down a card in Rummy