mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
3a45bf5254
While the waste stack and the playable card on top of the waste stack are collectively referred to as the "waste", it's programatically nice to separate them to enable 3-card-draw mode. In that mode, the playable stack will contain 3 cards with a slight x-axis shift, while the waste stack underneath will remain unshifted. So rather than introducing some ugly logic to CardStack to handle this, it's more convenient to have a separate stack on top of the waste stack. |
||
---|---|---|
.. | ||
Card.cpp | ||
Card.h | ||
CardStack.cpp | ||
CardStack.h | ||
CMakeLists.txt | ||
Game.cpp | ||
Game.h | ||
main.cpp | ||
Solitaire.gml |