mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-18 15:56:46 -08:00
MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be many adjustments necessary
This commit is contained in:
@@ -59,7 +59,7 @@ do
|
||||
startNewGame = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (moveIndex == 0)
|
||||
{
|
||||
// To reset the line to all X, same game
|
||||
@@ -83,8 +83,8 @@ do
|
||||
|
||||
do
|
||||
{
|
||||
moveIndex = equalToLastMove
|
||||
? GetMoveIndexWhenEqualeLastMove(moveIndex, gameEntropyRate)
|
||||
moveIndex = equalToLastMove
|
||||
? GetMoveIndexWhenEqualeLastMove(moveIndex, gameEntropyRate)
|
||||
: GetMoveIndex(moveIndex, gameEntropyRate);
|
||||
|
||||
board[moveIndex] = board[moveIndex] == "O" ? "X" : "O";
|
||||
@@ -194,4 +194,4 @@ void PrintGameInfo()
|
||||
Print("OTHERS, TWO WILL CHANGE. TO RESET LINE TO ALL X'S, TYPE 0");
|
||||
Print("(ZERO) AND TO START OVER IN THE MIDDLE OF A GAME, TYPE ");
|
||||
Print("11 (ELEVEN).");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user