On Wed, Jun 23, 2021 at 6:54 PM Paul Dufresne via Freedos-devel <freedos-devel@lists.sourceforge.net> wrote: > > So: > 1) Show the board before asking the first move > 2) Add coordinates (A-H, 1-8) when showing board. > 3) Allows entering move by moving cursor... this would probably need > pdcurses.h. > ... will look at first two later... maybe tomorrow. > > I have doubts I will ever do 3) > > Thanks for the first three feature requests! >
Well, #3 would actually require conio. If you were writing a program for Linux or some other Unix system, you'd use curses. But on DOS, you can directly access the screen and keyboard using functions from conio.h (and possibly others, depending on the compiler .. OpenWatcom would also use graph.h) For a very simple example of using conio.h and graph.h on OpenWatcom, see my other video about writing the Simple Senet game: https://www.youtube.com/watch?v=vM_qQfOwXQ0 (That was part of the "learning how to write C programs" video series, so it's meant to be a simple programming example. But you get the idea.) You can see the completed Simple Senet game (with nicer-looking colors, etc) in this video: https://www.youtube.com/watch?v=cyI3WqTZ7hQ Jim _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel