From 4a775ee9a31da1bdf95d9b4b4cabbc8f92c50866 Mon Sep 17 00:00:00 2001 From: flifloo Date: Thu, 7 Apr 2022 13:52:28 +0200 Subject: [PATCH] Show empty space on Tetrominoe print --- Models/Tetrominoe.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Models/Tetrominoe.cs b/Models/Tetrominoe.cs index 2e6977c..a7b67ae 100644 --- a/Models/Tetrominoe.cs +++ b/Models/Tetrominoe.cs @@ -44,8 +44,7 @@ public class Tetrominoe { _orientation = value; Point newCoords = _coordinates; - //ToDo edit position ? - //ToDo move position when hot a wall + //ToDo: move position when hit a wall if (!_grid.CanGo(this, newCoords)) { _orientation = oldOrientation; @@ -113,7 +112,7 @@ public class Tetrominoe { if (Shape[x, y]) s += "x".Pastel(_color); else - s += " "; + s += "-".Pastel(Color.Black); s += "\n"; } return s;