--- a/src/main.c Tue Sep 01 17:39:13 2026 +0200 +++ b/src/main.c Tue Sep 01 17:47:07 2026 +0200 @@ -29,11 +29,7 @@ #define PROGRAM_VERSION "1.0 alpha" -#include "chess/rules.h" -#include "chess/pgn.h" -#include "input.h" -#include "network.h" -#include "colors.h" +#include <curses.h> #include <string.h> #include <time.h> #include <locale.h> @@ -42,7 +38,12 @@ #include <errno.h> #include <unistd.h> #include <getopt.h> -#include <curses.h> + +#include "chess/rules.h" +#include "chess/pgn.h" +#include "input.h" +#include "network.h" +#include "colors.h" typedef struct { /**