Skip to content

Commit

Permalink
Merge pull request #44 from ctabin/fix-render
Browse files Browse the repository at this point in the history
Fixes ASCII renderer example in quick run
  • Loading branch information
ctabin authored Jul 23, 2023
2 parents e0ab55c + 31d74da commit 7791a56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ game.play("e4","e5","Nf3","Nc6","Bb5","a6","Ba4","Nf6","O-O","Be7",
//agree to a draw
game.draw();

//prints the final position
ASCIIPositionRenderer.render(System.out, game.getPosition());
//prints the final position (white is on the bottom)
ASCIIPositionRenderer.render(System.out, game.getPosition(), Color.WHITE);
```

## Usage
Expand Down

0 comments on commit 7791a56

Please sign in to comment.