private static void DrawRank(this Pieces @this, byte rank, bool isWhiteColor) { ResetScreenColor(); WriteValue($" {rank + 1} "); for (byte file = 0; file < Files.Count; file++) { ApplyBoardColor(isWhiteColor); @this.DrawFile(file, rank); isWhiteColor = !isWhiteColor; ApplyBoardColor(); } ResetScreenColor(); WriteValue($" {rank + 1} {NewLine}"); }