mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 09:26:28 +02:00
Because `card->value() == 11` is a lot less clear than `card->rank() == Cards::Rank::Queen`, and also safer. Put this, along with the `Suit` enum, in the `Cards` namespace directly instead of inside `Cards::Card`. Slightly less typing that way.
8.6 KiB
8.6 KiB