diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/src/constants.h b/src/constants.h old mode 100644 new mode 100755 index f0f995b..f5c3f8c --- a/src/constants.h +++ b/src/constants.h @@ -20,7 +20,7 @@ enum PieceType { }; // Access with CHESS_CHARS[PieceType] to get the character for the piece. -const char CHESS_CHARS[13] = { +const std::array CHESS_CHARS = { ' ', 'p', 'n', 'b', 'r', 'q', 'k', 'P', 'N', 'B', 'R', 'Q', 'K'