Wouldn't it be better to use the chess notation, to enter the letters and numbers for which file and which rank you want, instead of having to move the cursor by arrows?
Probably, but if I continue this I'd add it to an existing chess client, or at least use something better than curses. I was actually planning to do this before sharing, but after sitting on it for a while I figured it was better to just get it out there.
I used curses simply because it was quick to experiment with since I had some similar code from another game I could reuse.
I used curses simply because it was quick to experiment with since I had some similar code from another game I could reuse.