Page 1 of 1

PGN format

Posted: Sat Jun 12, 2010 1:55 pm
by kingliveson
Can you guys please with the correspondent games use PGN format so the game can be easier to follow.

[Event "OpenChess"]
[Site "open-chess.org"]
[Date "2010.06.12"]
[Round "?"]
[White "Ted Summers"]
[Black "Jeremy Bernstein"]
[Result "*"]
[ECO "B10"]

1. e4 e5 2. Nf3 Nc6 3. Bb5 *

Re: PGN format

Posted: Sat Jun 12, 2010 2:04 pm
by Ted Summers
okay :P

Re: PGN format

Posted: Sat Jun 12, 2010 2:20 pm
by Jeremy Bernstein
kingliveson wrote:Can you guys please with the correspondent games use PGN format so the game can be easier to follow.

[Event "OpenChess"]
[Site "open-chess.org"]
[Date "2010.06.12"]
[Round "?"]
[White "Ted Summers"]
[Black "Jeremy Bernstein"]
[Result "*"]
[ECO "B10"]

1. e4 e5 2. Nf3 Nc6 3. Bb5 *
I just made a new BBCode tag: it is exactly the same as , but it shows the last move instead of the starting position. Much nicer for this purpose.

Re: PGN format

Posted: Sat Jun 12, 2010 2:23 pm
by kingliveson
Jeremy Bernstein wrote:
kingliveson wrote:Can you guys please with the correspondent games use PGN format so the game can be easier to follow.

[Event "OpenChess"]
[Site "open-chess.org"]
[Date "2010.06.12"]
[Round "?"]
[White "Ted Summers"]
[Black "Jeremy Bernstein"]
[Result "*"]
[ECO "B10"]

1. e4 e5 2. Nf3 Nc6 3. Bb5 *
I just made a new BBCode tag: it is exactly the same as , but it shows the last move instead of the starting position. Much nicer for this purpose.
Even Better. Man, how I which the pgn module would show a fen for each position as you go through the game.

Re: PGN format

Posted: Sat Jun 12, 2010 2:31 pm
by Jeremy Bernstein
kingliveson wrote:Even Better. Man, how I which the pgn module would show a fen for each position as you go through the game.
That would be great. My current wish list:

x board coordinates (EDIT: just added this)
x side to move indicator (EDIT: added this, too)
- FEN from current position

I will probably have to hack these myself into the code, so it might not happen immediately. But I'll get to it eventually. If there are any JavaScript hackers out there who feel like taking on any of that, check out http://code.google.com/p/pgn4web for the code I'm using.

Re: PGN format

Posted: Sun Jun 13, 2010 1:57 am
by kingliveson
Jeremy Bernstein wrote:
kingliveson wrote:Even Better. Man, how I which the pgn module would show a fen for each position as you go through the game.
That would be great. My current wish list:

x board coordinates (EDIT: just added this)
x side to move indicator (EDIT: added this, too)
- FEN from current position

I will probably have to hack these myself into the code, so it might not happen immediately. But I'll get to it eventually. If there are any JavaScript hackers out there who feel like taking on any of that, check out http://code.google.com/p/pgn4web for the code I'm using.
Thanks for getting it done!