Skip to content

tizilogic/soso

Repository files navigation

Solitaire Solver (soso)

Linux x64 Windows Check single header consistency

This library uses a mixed tree search approach to solve a Klondike Solitaire game, trying to find the first solution for a game.

Documentation

TODO

Build

  • 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();

Use with other build systems

  • For convenience everything you need is packed into soso.h and soso.c. Just copy those into your project.

Contribute

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.