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
Linking without tinfo shouldn’t be a problem
This is a writeup of how the game was made, using the vim+gcc+gdb stack.
Although working on a completely different tech stack at work, I like C, there's something zen-like about being close to the machine and almost universally portable.
fyi I noticed that your mallocz seems to reimplement calloc: https://pubs.opengroup.org/onlinepubs/009695399/functions/ca...
A multiple-gap buffer is more difficult to handle than a linked list, yeah.