mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:27:45 +00:00
Hearts: Add support for playing more than one hand
This changes the game so that more than one hand can be played. Once one player has 100 or more points the game ends. A score card is shown between each hand. Fixes #7374.
This commit is contained in:
parent
e636ed43eb
commit
87ace131bc
6 changed files with 226 additions and 33 deletions
|
@ -49,6 +49,7 @@ public:
|
|||
|
||||
Vector<RefPtr<Card>> hand;
|
||||
Vector<RefPtr<Card>> cards_taken;
|
||||
Vector<int> scores;
|
||||
Gfx::IntPoint first_card_position;
|
||||
Gfx::IntPoint card_offset;
|
||||
Gfx::IntRect name_position;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue