ItsDrike
5240949353
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. |
||
---|---|---|
img/playing_cards | ||
qml | ||
src | ||
.clang-format | ||
.gitignore | ||
build.sh | ||
CMakeLists.txt | ||
generate_qrc.sh | ||
LICENSE-THIRD-PARTY.txt | ||
LICENSE.txt |