| 33 #include "colors.h" |
33 #include "colors.h" |
| 34 #include "chess/rules.h" |
34 #include "chess/rules.h" |
| 35 #include "chess/pgn.h" |
35 #include "chess/pgn.h" |
| 36 #include <ncurses.h> |
36 #include <ncurses.h> |
| 37 #include <string.h> |
37 #include <string.h> |
| 38 #include <sys/select.h> |
|
| 39 #include <stdio.h> |
38 #include <stdio.h> |
| 40 #include <errno.h> |
39 #include <errno.h> |
| 41 |
40 |
| 42 static const uint8_t boardx = 4, boardy = 10; |
41 static const uint8_t boardx = 4, boardy = 10; |
| 43 static int inputy = 21; /* should be overridden on game startup */ |
42 static int inputy = 21; /* should be overridden on game startup */ |