Re: Tower of Brahma
On Sun, 12 Nov 2017 19:15:33 +0530
Nandakumar Edamana <firstname.lastname@example.org> wrote:
> On Sunday 12 November 2017 07:09 PM, Shlomi Fish wrote:
> >> I just downloaded your tarball, compiled it and tried to run
> >> "./black-hole-solve --game black_hole 2.bh.board", but I just got
> >> "Segmentation fault (core dumped)". However, I understand that you've
> >> spent so much time in that. Really appreciate the work.
> > The segfault is not supposed to happen. Some questions:
> > 1. Which commands did you use to build it?
> > 2. What are the contents of 2.bh.board?
> Seems I gave it a non-existing file. Sorry for blindly following the
> README file.
That is ok - https://en.wikipedia.org/wiki/Serendipity .
> I had assumed 2.bh.board is there, but it is not. However,
> it means we have to handle an exception here. This is the gdb output:
> (gdb) run --game black_hole 2.bh.board
> Starting program:
> --game black_hole 2.bh.board
> Program received signal SIGSEGV, Segmentation fault.
> __GI__IO_fread (buf=0x7fffffffd010, size=1, count=4092, fp=0x0) at
> 37 iofread.c: No such file or directory.
It should be fixed in version 0.16.0 released today while crediting you in the
> > Thanks for testing!
> >> Since I've failed to compile it, I would ask this directly rather than
> >> testing it myself: is it a play-able game?
> > It is an automated solver for a game, and it should be usable.
> >> And about Tower of Hanoi. Yes, I first thought it is really silly to put
> >> it into Debian repo. But since there is a games-console package, and I
> >> couldn't find a Tower of Hanoi piece there, I just thought it is
> >> reasonable to include it. I still have no idea whether I am being silly.
> >> Of course I have serious packages which I'd like to put into the Debian
> >> repo. But I have zero experience with the official process, and I just
> >> thought this simple one would be a better choice as my first experimet.
> > Nice! Good luck.
> >> Nandakumar
Shlomi Fish http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html
A horse! A horse! My kingdom for a horse!
Please reply to list if it's a mailing list post - http://shlom.in/reply .