nqueens

NQueens solution animation. Reanimate test project.

Pure Nim score 15/100 · last commit 2020-07-12 · 4 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 4
Forks 1
Open Issues 0
Last Commit 2020-07-12
Downloads 0
Last Indexed 2026-08-04 04:52

Installation

nimble install nqueens
choosenim install nqueens
git clone https://gitlab.com/williamyaoh/nqueens

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nqueens - - - - - - -

Source

Repository https://gitlab.com/williamyaoh/nqueens
Homepage https://gitlab.com/williamyaoh/nqueens
Registry Source gitlab

README

nqueens

A small demonstration of using the Reanimate library to produce animations programatically. Generates a GIF showing how to use depth-first search to solve the N-queens puzzle.

Building and running

For when you want to generate the animation yourself, or make tweaks to it.

Along with Stack for building the Haskell code, you'll need the following executables installed:

  • ffmpeg >= 4.1.3
  • gifsicle

Run the following commands from the top-level directory:

stack build nqueens:anim
stack exec anim render-final

This will render the raw output from the Reanimate library and do some post-processing to produce the final GIF.

See the documentation in anim.hs for what other build commands are available.