Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethproductions/puzzlr
https://github.com/ethproductions/puzzlr
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ethproductions/puzzlr
- Owner: ETHproductions
- Created: 2023-10-26T14:42:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-17T16:38:23.000Z (4 months ago)
- Last Synced: 2024-09-18T12:51:07.441Z (4 months ago)
- Language: JavaScript
- Size: 417 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# puzzlr
A puzzling toolkit designed around a rudimentary universal solver.
[**Try it online**](https://ethproductions.github.io/puzzlr)
## Install
```
npm i -g puzzlr
```Or download the repo and run `npm i -g` in the base directory.
## Usage
```
puzzlrFilename can either be a path to a json file or a built-in example.
See /src/test/ for examples (or run 'puzzlr ')
Example: puzzlr sudoku 3x3-basicOptions:
-m, --mode: 'fast' or 'thorough' (default='thorough')
-d, --depth: depth of recursive search (default=1)
-l, --log: level of detail in debug log (default=0)
```## TODO
- Support search depths beyond 1
- Support multi-valued variables
- Generalize implementation of rules
- Add more puzzle types
- Add more grid types (see src/PuzzleGrid.js)
- Interactive renderer?