Skip to content

Commit

Permalink
Merge pull request #45 from ctabin/fix-sample
Browse files Browse the repository at this point in the history
Fixes sample code for ASCII rendering
  • Loading branch information
ctabin authored Aug 2, 2023
2 parents b7882cb + 062e0c5 commit 1a19eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ UnicodePositionRenderer.render(System.out, game.getPosition());
```java
JChessGame game = JChessGame.newGame();
ASCIIPositionRenderer.render(System.out, game.getPosition(), Color.WHITE);
game.play("e4", "g6", "Nf3", "Bg7", "d4", "a5", "b3");
ASCIIPositionRenderer.render(System.out, game.getPosition(), Color.WHITE);
```
The result will look like this:
Expand Down

0 comments on commit 1a19eaa

Please sign in to comment.