MAINT: Apply pre-commit

Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
This commit is contained in:
Martin Thoma
2022-03-05 09:29:23 +01:00
parent f5e33ae38f
commit e64fb6795c
536 changed files with 6267 additions and 5556 deletions

View File

@@ -67,7 +67,7 @@ char printBoard() {
Console.Write("\n");
}
} else {
Console.Write("!");
Console.Write("!");
}
}
// horizontal check
@@ -145,7 +145,7 @@ int computerMove(int lastMove) {
return 6;
}
// check cross
int crossIndex = boardMap[getIndex(index + 4)];
int crossIndex = boardMap[getIndex(index + 4)];
if (board[crossIndex] == ' ') {
return crossIndex;
}
@@ -214,7 +214,7 @@ int computerMove(int lastMove) {
if (board[stepBackward3] == ' ') {
return stepBackward3;
}
int crossIndex = boardMap[getIndex(index + 4)];
int crossIndex = boardMap[getIndex(index + 4)];
if (board[crossIndex] == ' ') {
return crossIndex;
}