Skip to content

Bug: All face cards are treated as having the same value when checking for high card win #21

@devklick

Description

@devklick

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions