package knights_tour
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4c693ffd5554cdbb064b0aa2ec104ec1831d3abd077ea2cec0a52922ebdc2212
sha512=f3cd71b81c7e44e7186e43c407ee679a2fede799a8aa07c495932a1a7469c5cc80a32f28eaa0b2868d195e64896802baf7959bae5b3466f777279fa1500f3e60
Description
See https://en.wikipedia.org/wiki/Knight%27s_tour
Added to opam-repository:
README
Knights Tour
An ocaml puzzle solver that solves the classic Knight's Tour and Pentomino puzzles.
To run the solver:
dune exec ./knight_solve.exe # Solve knights_tourTo play the game yourself interactively:
dune exec ./knight_play.exePentominos
To run the solver:
dune exec ./pento_solve.exeOpam install
opam install knigths_tourApi docs
This puzzle solver was essentially a test-case for experimenting with a general purpose 'searchspace solver'. This is included as a library that might potentially be of use outside of this project.
The generated api docs are here. The most interesting part of this library is the SearchSpace Module. The rest of the code isn't really as useful or re-usable and has almost no documentation.
However the code that creates a 'searchspace' to solve the puzzle is here and may make for a good example on how it is intended to be used.
Dependencies (6)
- ppx_expect
- ppx_inline_test
- stdio
- graphics
-
ocaml
>= "4.14.0" -
dune
>= "3.1"
Dev Dependencies (1)
-
odoc
with-doc
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building knights_tour with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.0.6 | n/a | n/a | good | good | good |
| 0.0.5 | n/a | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure