News for hackers. Stuff that matters.
Re:Solitaire with text-based interface in C by ngcc_hk on Monday July 13, 2020 @06:28AM (#23819191)
Good game and good implementation;

Mac need to use ncurses and no tinfo and not sure the implication.

And do not type c8, segment fault. Thought it use linked list not array ...

Very good game and play a few round

Re:Solitaire with text-based interface in C by axarydax on Monday July 13, 2020 @07:01AM (#23819402)
Thanks for finding the bug - I haven’t caught this one! It crashes because it wasn’t checking the column id, that’s an array of piles in game_state, the piles themselves are linked lists.

Linking without tinfo shouldn’t be a problem

Re:Solitaire with text-based interface in C by ngcc_hk on Tuesday July 21, 2020 @07:18PM (#23911961)
Still playing it and do a pull request even, plus a further plan to upgrade yous. But the pull request has a minor bug which I fix. Life in a day of programmer I supposed.
Re:Solitaire with text-based interface in C by ngcc_hk on Tuesday July 21, 2020 @07:47PM (#23912191)
Just stop to have more idea ... like multi user ... AI study etc. and touching for awhile. A new branch is developed as a base for my future self to work with. Need to do more serious work for my lovely fallen place. In the mean time, I guess I understand why again those hacker in the 70s doing text game (and also one on cathode tube) using the Internet then. It is all addictive. Have to stop :-)
Re:Solitaire with text-based interface in C by ngcc_hk on Monday July 13, 2020 @09:24AM (#23820468)
Other than no typing c8, finish at least two full game and it is ok. Better not to play it la. Too addictive.