This is a Solitare game written with Qt + QML. I made this project as my final project for the AP7MP class.
Find a file
ItsDrike bea2be5f63
bug: Fix state hash for empty piles
The current implementation of state hash doesn't represent empty columns
or foundations properly. This leads to a potential collision if there is
a full column next to an empty column, as it's indistinguishable which
column the data lies on. (In practice, this can't happen for
foundations, as they only hold cards of distinct types, so the collision
only occurs with columns.)

This commit fixes the issue and makes sure to represent empty piles
properly.
2024-12-07 20:48:41 +01:00
img/playing_cards Add support for showing playing cards 2024-12-01 01:01:37 +01:00
qml Add winnability check 2024-12-06 05:08:58 +01:00
src bug: Fix state hash for empty piles 2024-12-07 20:48:41 +01:00
.clang-format Add clang-format config & format files 2024-12-05 03:06:34 +01:00
.editorconfig Add editorconfig file 2024-12-07 12:53:46 +01:00
.gitattributes Enforce LF through gitattributes 2024-12-07 12:55:00 +01:00
.gitignore Clean up gitignore 2024-12-05 01:27:43 +01:00
build.sh Add script to build the project manually 2024-12-01 01:10:43 +01:00
CMakeLists.txt Move main.cpp to src/ dir 2024-12-05 02:43:42 +01:00
generate_qrc.sh Move qrc files to qml/ dir 2024-12-05 02:41:24 +01:00
LICENSE-THIRD-PARTY.txt Add support for showing playing cards 2024-12-01 01:01:37 +01:00
LICENSE.txt Add GPL 3.0-or-later license 2024-11-30 21:01:01 +01:00