Modules and Makefile

This commit is contained in:
cdricms
2023-12-20 23:32:19 +01:00
parent 6cba000233
commit 11781e37ff
9 changed files with 90 additions and 44 deletions

10
src/main.c Normal file
View File

@@ -0,0 +1,10 @@
#include "fen.h"
int main() {
Board board;
FEN fen = "rnbqkbnr/ppppp1pp/5p2/8/8/8/PPPPPPPP/RNBQKBNR";
fen_toBoard(fen, board);
fen_fromBoard(board, fen);
printf("%s", fen);
return 0;
}