reactos/base/applications/games/solitaire
Tibor Lajos Füzi 9dff498b21
[SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422)
Two issues are addressed:

CORE-2189: missing undo feature

Works the same way as solitaire in windows xp:
- only 1 action can be undone;
- the player gets -2 points in standard score mode;
- the undo action resets when the player clicks on a row stack to turn the top card.

CORE-11148: invisible cards

This happens in 3-card mode, when only 1 card left in the deck. The fix for this is to modify the pile stack to contain all the face-up cards. It was actually already in the code somewhere else, so I turned it into a separate function.
2021-02-28 22:31:19 +01:00
..
lang [SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422) 2021-02-28 22:31:19 +01:00
CMakeLists.txt [SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422) 2021-02-28 22:31:19 +01:00
ReadMe.txt
resource.h [SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422) 2021-02-28 22:31:19 +01:00
rsrc.rc
solcreate.cpp [SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422) 2021-02-28 22:31:19 +01:00
solgame.cpp [SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422) 2021-02-28 22:31:19 +01:00
solitaire.cpp [SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422) 2021-02-28 22:31:19 +01:00
solitaire.h [SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422) 2021-02-28 22:31:19 +01:00
solitaire.ico
solundo.cpp [SOLITAIRE] Add undo feature & fix occasionally invisible cards (#3422) 2021-02-28 22:31:19 +01:00

Solitaire for ReactOS

/*****************************************
A complete working example of the CardLib 
card-game library.

Freeware
Copyright J Brown 2001

Updates at http://www.catch22.net

******************************************/

The author has given permission to use these sources
under Public Domain. Do what thou will but please give
credit where credit is due.

-sedwards