Skip to content
Snippets Groups Projects
Commit 7691c4a2 authored by Bariatti Francesco's avatar Bariatti Francesco
Browse files

Nicer Board.toString

parent 37ce5509
No related branches found
No related tags found
No related merge requests found
......@@ -140,9 +140,9 @@ public class Board {
for (int x = 0; x < board.length; x++)
{
if(board[x][y] == -1)
sb.append(" ");
sb.append(" ~ ");
else
sb.append(board[x][y]+" ");
sb.append(String.format("%3s ", board[x][y]));
}
sb.append("\n");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment