Skip to content

Commit

Permalink
run new version of csharpier and add install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Esgrove committed Aug 21, 2024
1 parent b78c784 commit a49aa81
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion csharp/Othello/Board.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ internal class Board
new(0, 1),
new(1, -1),
new(1, 0),
new(1, 1)
new(1, 1),
};

public Board(int size)
Expand Down
2 changes: 1 addition & 1 deletion csharp/Othello/Othello.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public static int Main(string[] args)
showLog,
hideHelpers,
testMode,
version
version,
};

ColorPrint.WriteLine("OTHELLO GAME - C#", Color.Green);
Expand Down
2 changes: 1 addition & 1 deletion csharp/Othello/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public enum Disk : int
{
Black = -1,
Empty = 0,
White = 1
White = 1,
}

/// Represents one step direction on the board.
Expand Down
2 changes: 2 additions & 0 deletions csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ dotnet test
Using [CSharpier](https://github.com/belav/csharpier)

```shell
dotnet tool install --global csharpier

dotnet csharpier .
```

0 comments on commit a49aa81

Please sign in to comment.