aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzedarider <ymherklotz@gmail.com>2017-01-14 00:09:29 +0000
committerzedarider <ymherklotz@gmail.com>2017-01-14 00:09:29 +0000
commit6fc3dfc10ce0e690b0de9c811e617dc76104db40 (patch)
tree391ab624fe4ba9fdab25d6de355d46898b833c09
parent8320f7ec281891501a9b3092e20d990e7fd14700 (diff)
downloadChessAI-6fc3dfc10ce0e690b0de9c811e617dc76104db40.tar.gz
ChessAI-6fc3dfc10ce0e690b0de9c811e617dc76104db40.zip
adding a few small comments
-rw-r--r--include/chess_piece.hpp4
-rw-r--r--src/test_bench.cpp19
2 files changed, 16 insertions, 7 deletions
diff --git a/include/chess_piece.hpp b/include/chess_piece.hpp
index 6037b89..f03dad8 100644
--- a/include/chess_piece.hpp
+++ b/include/chess_piece.hpp
@@ -14,6 +14,10 @@
#ifndef YMH_CHESS_PIECE_HPP
#define YMH_CHESS_PIECE_HPP
+
+// defining seperate namespace so that I don't have to worry with duplicate
+// names
+
namespace ymhChessAI {
class ChessPiece {
public:
diff --git a/src/test_bench.cpp b/src/test_bench.cpp
index 861f51b..474c53b 100644
--- a/src/test_bench.cpp
+++ b/src/test_bench.cpp
@@ -1,23 +1,28 @@
/*
*
- * description: This is the test_bench file for the chess_ai
+ * author: Yann Herklotz
+ * username: ymherklotz
+ * email: ymherklotz@gmail.com
*
- * author: Yann Herklotz <ymherklotz@gmail.com>
- * date created: DD-MM-YYYY
+ * -----------------------------------------------------------------------------
+ *
+ * Main file that tests the chess ai
*
*/
-#include "chess_ai.hpp"
#include "chess_tester.hpp"
+#include "chess_piece.hpp"
#include <iostream>
using namespace std;
-using namespace chess_ai;
+using namespace ymhChessAI;
int main(int argc, char **argv) {
- (void)argc;
- (void)argv;
+ cout << "Program name: " << argv[0] << endl;
+ cout << "Arguments: " << argc - 1 << endl;
+
+ cout << endl << "====== Executed Successfully ======" << endl;
return 0;
}