Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 533 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 533 Bytes

Tower of Hanoi

A Clojure library designed to solve the Tower of Hanoi.

Usage

  • Add to your leiningen dependencies in project.clj [xbrln/tower-of-hanoi "0.1.0"]
  • Require in your code [tower-of-hanoi.core :as toh]
  • Example use (toh/total-moves 3) and (toh/print-moves 3 "A" "C" "B")

License

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.