determined whether cards match (next take action on match)