package knights_tour

  1. Overview
  2. Docs
Solves the Knight's tour puzzle

Install

Dune Dependency

Authors

Maintainers

Sources

knights_tour-0.0.1.tbz
sha256=457bb41e8bb45a4324c7ab3594fdc7306c76d8988e5e7b011e8a0ed1ca9494be
sha512=19c4dae1737a2d3d9ae75db2c22ceb5c0c7d0c2aea24e7a433bc92e5ca79851e3fe698474669e223387b4c2fbe09bffc3a7f4caeb667a8c39f1e40a40d23f6e9

Description

See https://en.wikipedia.org/wiki/Knight%27s_tour

Published: 09 May 2022

README

Knights Tour

An ocaml puzzle solver that solves the classic Knight's Tour.

To run the solver:

dune exec ./knight_solve.exe

To play the game yourself interactively:

dune exec ./knight_play.exe

Opam install

TODO: Once we figured out how to publish a package on opam.

Api 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.

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None