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 5240949353
Significantly optimize the winnability simulation
The original approach for calculating winnability first checked for
inter-column movements, which isn't ideal, instead, the new logic now
first attempts to make foundation pile movements. Additionally, this
converts the function to return an option value, which will be null if
the winnability check fails to determine the result within given maximum
depth. This is a necessary check, as the original logic took really long
to finish, especially if ran at the beginning of the game, where it
could keep going for hundreds of moves.
2024-12-06 17:04:15 +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 Significantly optimize the winnability simulation 2024-12-06 17:04:15 +01:00
.clang-format Add clang-format config & format files 2024-12-05 03:06:34 +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