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 fdc3405366
Limit runtime for win scenario calculations
Depth limit alone often does a poor job at ensuring the simulation
doesn't take too long, as the amount of branches may differ depending on
the game and in some cases, the function can take way too long.

This solution introduces another stop condition, based on the runtime
of the evaluation, ensuring we don't block the game for too long.

Note that the original depth limiting, while fairly effective is a hacky
solution, instead, it may be a good idea to change the simulation logic
from DFS to BFS based search.
2024-12-07 12:26:47 +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 Limit runtime for win scenario calculations 2024-12-07 12:26:47 +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