[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tower of Brahma



On Sun, 12 Nov 2017 10:50:17 +0530
Nandakumar Edamana <nandakumar@nandakumar.co.in> wrote:

> Hello,
> 
> I've completed a basic version of Brahma, a console implementation of 
> Tower of Hanoi. I'd be thrilled if it gets into the Debian repo, and is 
> referred to by games-console package.
> 
> Here is the code:
> 
> https://gitlab.com/nandedamana/hanoi-cli-game
> 

If you are going to package this, please also package this -
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765336 .

Otherwise, I took a look at game.c and feel that there are too many global
variables there. Why not put them all inside an instance struct and pass a
pointer to it?


> I've made many changes based on the advice given by Mr. Paul Wise. 
> Please have a look.
> 
> Nandakumar Edamana
> 
> 



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://www.shlomifish.org/humour/bits/Can-I-SCO-Now/ - “Can I SCO Now?”

All Chuck Norris has to do is *look* at Perl code and it interprets itself
out of fear and respect. — DrForr
    — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

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


Reply to: