From a49aa817df3f5eab40d5766b84d15598fd4f6682 Mon Sep 17 00:00:00 2001 From: Akseli Lukkarila Date: Wed, 21 Aug 2024 15:46:04 +0300 Subject: [PATCH] run new version of csharpier and add install instructions --- csharp/Othello/Board.cs | 2 +- csharp/Othello/Othello.cs | 2 +- csharp/Othello/Utils.cs | 2 +- csharp/README.md | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/csharp/Othello/Board.cs b/csharp/Othello/Board.cs index 8dd47c2..b263bcb 100644 --- a/csharp/Othello/Board.cs +++ b/csharp/Othello/Board.cs @@ -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) diff --git a/csharp/Othello/Othello.cs b/csharp/Othello/Othello.cs index 559462a..2abda8c 100644 --- a/csharp/Othello/Othello.cs +++ b/csharp/Othello/Othello.cs @@ -238,7 +238,7 @@ public static int Main(string[] args) showLog, hideHelpers, testMode, - version + version, }; ColorPrint.WriteLine("OTHELLO GAME - C#", Color.Green); diff --git a/csharp/Othello/Utils.cs b/csharp/Othello/Utils.cs index 4417677..a9b7ed6 100644 --- a/csharp/Othello/Utils.cs +++ b/csharp/Othello/Utils.cs @@ -18,7 +18,7 @@ public enum Disk : int { Black = -1, Empty = 0, - White = 1 + White = 1, } /// Represents one step direction on the board. diff --git a/csharp/README.md b/csharp/README.md index 1061ff2..aedf85b 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -35,5 +35,7 @@ dotnet test Using [CSharpier](https://github.com/belav/csharpier) ```shell +dotnet tool install --global csharpier + dotnet csharpier . ```