This is program written in java that helps you analyze and go through games in PGN notation format.
There's a gui interface available
Note: not all functionalities are included
Most classes are self-explanatory and there are tests available for a decent amount of them.
ArrayList<Game> games = PGNReader.readPGNFile("path-to-file.pgn");
// Vanilla
Move move = new Move(from, to, moving);
// Capturing
Move move = new Move(from, to, moving, captured);
// Promoting
Move move = new Move(from, to, moving, captured, promotion);
// Decleration
Board board = new Board(doneMoves);
// Manual
board.doMove(Move move);
// By Notation
board.doMove(String notation, boolean isWhite);
board.toString();
0 A B C D E F G H
1 R N B Q K B N R
2 P P P P P P P P
3
4
5
6
7 p p p p p p p p
8 r n b q k b n r
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.