From 8fe7bc212f6186c6305dbfe7dad31e5c685183fb Mon Sep 17 00:00:00 2001 From: bwbl Date: Thu, 24 Oct 2024 02:08:27 +0200 Subject: [PATCH] set position insted of using space --- Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 742dbe1..5719edd 100644 --- a/Program.cs +++ b/Program.cs @@ -515,7 +515,8 @@ Console.SetCursorPosition(leftSpacing + x * 4, y * 2 + playgroundSpacing + 1); Console.Write("║"); } - Console.Write(" ║"); + Console.SetCursorPosition(leftSpacing + board.GetLength(0) * 4, y * 2 + playgroundSpacing + 1); + Console.Write("║"); } // on dessine les interligne du plateau