Dev Ghai commited on 2014-01-05 06:38:22
Showing 1 changed files, with 2 additions and 2 deletions.
| ... | ... |
@@ -103,7 +103,7 @@ namespace Boggle |
| 103 | 103 |
/// </summary> |
| 104 | 104 |
public void Print() |
| 105 | 105 |
{
|
| 106 |
- int horizontalLength = _SideLength * 4 + 1; |
|
| 106 |
+ int horizontalLength = _SideLength * 5 + 1; |
|
| 107 | 107 |
StringBuilder line = new StringBuilder(horizontalLength); |
| 108 | 108 |
string horizontalSeparator = string.Empty; |
| 109 | 109 |
for (int i = 0; i < horizontalLength; i++) |
| ... | ... |
@@ -118,7 +118,7 @@ namespace Boggle |
| 118 | 118 |
line.Append("\u2551");
|
| 119 | 119 |
for (int j = 0; j < _SideLength; j++) |
| 120 | 120 |
{
|
| 121 |
- line.AppendFormat(" {0} \u2551", _Tiles[j, i].Alphabet);
|
|
| 121 |
+ line.AppendFormat(" {0,2} \u2551", _Tiles[j, i].Alphabet);
|
|
| 122 | 122 |
} |
| 123 | 123 |
Console.WriteLine(line); |
| 124 | 124 |
} |
| 125 | 125 |