Commit a932bb0c by Paktalin

Fixed representation

parent 0729bc5d
...@@ -30,6 +30,8 @@ public abstract class Piece implements Comparable<Piece> { ...@@ -30,6 +30,8 @@ public abstract class Piece implements Comparable<Piece> {
} }
public char getRepresentation() { public char getRepresentation() {
if (isBlack())
return Character.toUpperCase(representation);
return representation; return representation;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment