mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09: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. |
||
---|---|---|
.. | ||
Card.cpp | ||
Card.h | ||
CardGame.cpp | ||
CardGame.h | ||
CardStack.cpp | ||
CardStack.h | ||
CMakeLists.txt |