[ANN] binary_puzzle_solver Ruby gem version v0.0.4

[ANN] binary_puzzle_solver Ruby gem version v0.0.4

Shlomi Fish shlomif at shlomifish.org
Fri Jun 14 14:19:05 IDT 2013


Hi all,

I am proud to announce the release of the binary_puzzle_solver Ruby gem version
0.0.4:

*
http://www.shlomifish.org/open-source/projects/japanese-puzzle-games/binary-puzzle/

* http://rubygems.org/gems/binary_puzzle_solver

* https://freecode.com/projects/binary-puzzle-solver-in-ruby

* https://github.com/shlomif/binary-puzzle-garden

binary_puzzle_solver is a solver for the so-called “Binary Puzzle” binary
determination game as featured on http://binarypuzzle.com/ .

New in this release:

1. Some internal cleanups and refactorings.

2. Some new moves that allow solving more games.

3. A utility to solve boards from the command line.

#3 is especially of note. If you do:

ruby -Ilib bin/binary-puzzle-solve
test/data/boards/2013-06-07-12x12_very_hard.binpuz.board

You get something like:

<SHELL>

[Start Moves]
Put 0 in x=2 y=2 due to:
    Vicinity to two in a row
    Based on x
Put 0 in x=5 y=2 due to:
    Vicinity to two in a row
    Based on x
Put 0 in x=6 y=6 due to:
    Vicinity to two in a row
    Based on x
..
..
..
[End Moves]
------------------------------
|011001010110|
|101001010101|
|100110101001|
|010110101010|
|101001010110|
|010110100101|
|010011011001|
|101100101010|
|100101100110|
|011010011001|
|010110010101|
|101001101010|

</SHELL>

with the solution.

The Binary Puzzle Solver is open-source under the MIT/X11 licence
( http://en.wikipedia.org/wiki/MIT_License ). 
 
Enjoy, and contributions (as issues or pull requests) are welcome.

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Escape from GNU Autohell - http://www.shlomifish.org/open-source/anti/autohell/

    <rindolf>  preaction: every mighty Klingon warrior uses Vim.
  <preaction>  only green-blooded Romulan scum use Emacs
    — #perl, http://is.gd/grdEqT

Please reply to list if it's a mailing list post - http://shlom.in/reply .



More information about the Linux-il mailing list