diff --git a/src/main/java/io/github/wolfraam/chessgame/move/Move.java b/src/main/java/io/github/wolfraam/chessgame/move/Move.java index 00e1266..440ef14 100644 --- a/src/main/java/io/github/wolfraam/chessgame/move/Move.java +++ b/src/main/java/io/github/wolfraam/chessgame/move/Move.java @@ -42,6 +42,6 @@ public int hashCode() { @Override public String toString() { - return from.name + "-" + to.name + ((promotion == null ? "" : (" " + promotion.name()))); + return from.name + "-" + to.name + (promotion == null ? "" : (" " + promotion.name())); } } diff --git a/src/main/java/io/github/wolfraam/chessgame/pgn/PgnTag.java b/src/main/java/io/github/wolfraam/chessgame/pgn/PgnTag.java index f35a2c6..6a5b7c1 100644 --- a/src/main/java/io/github/wolfraam/chessgame/pgn/PgnTag.java +++ b/src/main/java/io/github/wolfraam/chessgame/pgn/PgnTag.java @@ -30,6 +30,15 @@ public enum PgnTag { ECO("ECO"), TIME_CONTROL("TimeControl"), TERMINATION("Termination"), + CURRENT_POSITION("CurrentPosition"), + TIMEZONE("Timezone"), + ECO_URL("ECOUrl"), + UTC_DATE("UTCDate"), + UTC_TIME("UTCTime"), + START_TIME("StartTime"), + END_DATE("EndDate"), + END_TIME("EndTime"), + LINK("Link"), OPENING("Opening"), VARIATION("Variation"), FEN("FEN"), @@ -47,4 +56,5 @@ public enum PgnTag { public String getTag() { return tag; } -} \ No newline at end of file +} +