aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..b41c919
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,30 @@
+/*
+
+ description:
+
+ author: Yann Herklotz <ymherklotz@gmail.com>
+ date created: DD-MM-YYYY
+
+ */
+
+#include "../include/chess_ai.hpp"
+
+#include <iostream>
+
+using namespace std;
+using namespace chess_ai;
+
+int main(int argc, char** argv) {
+ (void)argc;
+ (void)argv;
+
+ chess_board board(initial);
+ board.print_board();
+
+ chess_piece piece(rook, white, 5, 3);
+ board.set_piece(piece);
+
+ board.print_board();
+
+ return 0;
+}