diff options
author | zedarider <ymherklotz@gmail.com> | 2016-11-05 12:49:32 +0000 |
---|---|---|
committer | zedarider <ymherklotz@gmail.com> | 2016-11-05 12:49:32 +0000 |
commit | 4716585d5acb45b00960eebb4f8ae4580e580da0 (patch) | |
tree | ce5caa0fed7216ba83f8a8ac979807b332b6f3ce /src/main.cpp | |
parent | 146e32f222be037993fd4d1ab6148eda6c895d08 (diff) | |
download | ChessAI-4716585d5acb45b00960eebb4f8ae4580e580da0.tar.gz ChessAI-4716585d5acb45b00960eebb4f8ae4580e580da0.zip |
adding initial files
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 30 |
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; +} |