first draft (HAS BUGS, DOES NOT WORK)

This commit is contained in:
Odweta
2026-02-18 18:16:56 +01:00
parent b40d016e67
commit 51ff3b37d8
6 changed files with 55 additions and 15 deletions
+5 -1
View File
@@ -1,7 +1,9 @@
// a chess implementation in pure C :)
#include "chess.h"
#include "render.h"
#include <stdlib.h>
#include <stdio.h>
/**
* steps to victory:
@@ -27,7 +29,7 @@ int main() {
// algo begin
init_board(&board);
init_board(board);
show_help();
@@ -36,6 +38,8 @@ int main() {
select_player(&player, round_count);
show_board(board, player);
get_move(&move);
end_condition = perform_move(&board, player, &captured, move);