One of the ways to win is by having the highest card. In such cases, even though face cards represent a value of only 10, they are not equal; queen beats jack, king beats queen etc.
At the moment, the logic to check if there's a winner by high score uses the "rank value" (10), so all face cards are seem as being equal. This needs to be updated to use a "global value" (which is a unique value each card has and can be used to determine the true order of value).
One of the ways to win is by having the highest card. In such cases, even though face cards represent a value of only 10, they are not equal; queen beats jack, king beats queen etc.
At the moment, the logic to check if there's a winner by high score uses the "rank value" (10), so all face cards are seem as being equal. This needs to be updated to use a "global value" (which is a unique value each card has and can be used to determine the true order of value).