Browse Source

Update Checkers print

Vsevolod Levitan 10 months ago
parent
commit
ee7d75c192
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 1 1
      Checkers/Checkers/CheckerBoard.cpp

+ 1 - 0
.gitignore

@@ -500,3 +500,4 @@ FodyWeavers.xsd
 # Additional files built by Visual Studio
 
 # End of https://www.toptal.com/developers/gitignore/api/visualstudio,visualstudiocode,windows,linux,c++,cmake
+/Checkers/Checkers/.vscode

+ 1 - 1
Checkers/Checkers/CheckerBoard.cpp

@@ -109,7 +109,7 @@ void CheckerBoard::moveChecker(CheckerPosition from, CheckerPosition to)
 void CheckerBoard::print() const
 {
     // Legend at the top
-    wcout << "--A---B---C---D---E---F---G---H---" << endl;
+    wcout << "--A---B---C---D---E---F---G---H--" << endl;
     for (int y = BOARD_SIZE - 1; y >= 0; y--)
     {
         for (int x = 0; x < BOARD_SIZE; x++)