How to post chess games

General discussion about computer chess...
Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany

Re: How to post chess games

Post by Jeremy Bernstein »

Uly wrote:Okay, at this post:

http://www.open-chess.org/viewtopic.php ... 8822#p8822

I posted the game using pgnlast tags, however, I see the penultimate move highlighted (and position shown) instead of the last move.
Thanks, should be fixed now.
Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany

Re: How to post chess games

Post by Jeremy Bernstein »

Uly wrote:Great! I haven't found any problems.
Jeremy Bernstein wrote:Live variations support is now live. You can toggle them on and off with the '-' key.
Pressing the '-' key doesn't do anything around here.
Here's a game with variations higher up in the move list. They should be in green text, in [brackets]. When you've selected the game widget, the - key will fold and unfold the variations. This might only be on a US keyboard, but I don't think so.

Jeremy

Uly
Posts: 838
Joined: Thu Jun 10, 2010 5:33 am

Re: How to post chess games

Post by Uly »

I posted a PGN with many games, and nothiced a buggy thing, and a possible improvement of behavior.

The first:

Image

(note I'm at 800x600 res)

The << < + > >> arrows seem missing. Also, the scrollbar going down seems to be cut off.

The improvement on behavior is having it remember what game one is seeing, currently, a ... appears at the top, and if one e.g. clicks on the third game, after clicking the box again ... is highlighted instead of the third game, so navigation is hard as one would need to memorize what game was previously clicked.
BB+
Posts: 1484
Joined: Thu Jun 10, 2010 4:26 am

Re: How to post chess games

Post by BB+ »

The << < + > >> arrows seem missing. Also, the scrollbar going down seems to be cut off.
Yes, this usually happens when they are multiple games. I usually end up having to use the arrow keys to reach the game's end in some cases.
Uly
Posts: 838
Joined: Thu Jun 10, 2010 5:33 am

Re: How to post chess games

Post by Uly »

Okay, so this isn't exclusive to 800x600 res :)
Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany

Re: How to post chess games

Post by Jeremy Bernstein »

Uly wrote:Okay, so this isn't exclusive to 800x600 res :)
Thanks for the report, I'll check it out.
attakero
Posts: 1
Joined: Wed Feb 16, 2011 7:28 pm

Re: How to post chess games

Post by attakero »

how to add board coordinates in pgn4web board generator? pls help
pgn4web
Posts: 97
Joined: Mon Jun 14, 2010 10:26 pm

Re: How to post chess games

Post by pgn4web »

Hello, I had a look at the updates you did on the pgn4web code to add variation support.

I found a couple of bugs, that might affect your forum also:

1) mistakes in the PGN syntax are not handled gracefully, for instance this games trows a javascript exception and does not display anything at all:

Code: Select all

[White "someone"]
[Black "other"]

1. e4 c5 ( c4 ) 2. Nf3 *
See:



2) some comments are lost, for instance the word "try" is lost from this game:

Code: Select all

[White "someone"]
[Black "other"]

1. e4 c5 ( { try } c6 { instead } ) 2. Nf3 *
See:
Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany

Re: How to post chess games

Post by Jeremy Bernstein »

pgn4web wrote:Hello, I had a look at the updates you did on the pgn4web code to add variation support.

I found a couple of bugs, that might affect your forum also:
Thanks! I'll fix that up.

jb
Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany

Re: How to post chess games

Post by Jeremy Bernstein »

Jeremy Bernstein wrote:
pgn4web wrote:Hello, I had a look at the updates you did on the pgn4web code to add variation support.

I found a couple of bugs, that might affect your forum also:
Thanks! I'll fix that up.

jb
OK, both of those problems are "fixed" (the second one really, the first one is just kind of fixed (throws errors because the PGN is bad, but loads the board and lets you begin to debug your game). I'll look more closely, time permitting, at a better solution for invalid PGN data.
Post Reply