This library uses a mixed tree search approach to solve a Klondike Solitaire game, trying to find the first solution for a game.
TODO
- Get Submodules:
./get_dlc[.bat]
to fetch the required submodules - Compile+Run Tests:
./make[.bat] --compile --run
to build the tests (to compile in debug mode add "--debug
") - To update the single file/header library (after making changes in the
src
directory) run:./make[.bat] --kfile single-header.js
Use as library in a kmake compatible project
- Add the following lines to your
kfile.js
:let soso = await project.addProject('path/to/soso'); soso.useAsLibrary();
- For convenience everything you need is packed into
soso.h
andsoso.c
. Just copy those into your project.
Code changes take place inside the src/soso
folder. After making changes and before opening a PR, make sure
to update the single file/header library files by running ./make[.bat] --kfile single-header.js
in the root
directory of this repo.