PGN-Viewer: Unterschied zwischen den Versionen

aus Schachcomputer.info Wiki, der freien Schachcomputer-Wissensdatenbank
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
==PGN==
'''Funktion:''' Durch korrekte Eingabe eines gültigen PGN-Codes, wird automatisch ein Brett zum Nachspielen mit der Partie erzeugt.
'''Funktion:''' Durch korrekte Eingabe eines gültigen PGN-Codes, wird automatisch ein Brett zum Nachspielen mit der Partie erzeugt.


Zeile 46: Zeile 47:
Die Buttons unter dem Brett erklären sich von selbst.
Die Buttons unter dem Brett erklären sich von selbst.


<hr>




==FEN String Eingabe==
* '''Einfügen eines FEN-String:'''
* '''Einfügen eines FEN-String:'''


Zeile 94: Zeile 94:
14... d6 15. Nf3 Qxh3 16. Qxb7 Bxb7 17. Bxh3 Nce5 18. Kg2 Bf4 19. Bxg4 Nxg4 20. Rhf1 Kf7 21. Kh3 h1=Q+ 22. Rxh1 Nf2+ 23. Kg2 Nxh1 24. Rxh1 Rxh8 0-1
14... d6 15. Nf3 Qxh3 16. Qxb7 Bxb7 17. Bxh3 Nce5 18. Kg2 Bf4 19. Bxg4 Nxg4 20. Rhf1 Kf7 21. Kh3 h1=Q+ 22. Rxh1 Nf2+ 23. Kg2 Nxh1 24. Rxh1 Rxh8 0-1
</pgn>
</pgn>
==Übersicht der Shortcut Squares==
shortcut squares <br />
<br />
A1 go to game start <br />
B1 go to previous comment <br />
C1 move 6 half-moves backward <br />
D1 move backward <br />
E1 move forward <br />
F1 move 6 half-moves forward<br />
G1 go to next comment <br />
H1 go to game end <br />
<br />
A2 stop autoplay<br />
B2 toggle autoplay <br />
C2 autoplay 1 second <br />
D2 autoplay 2 seconds <br />
E2 autoplay 3 seconds <br />
F2 autoplay 5 seconds <br />
G2 autoplay 10 seconds <br />
H2 autoplay 30 seconds <br />
<br />
A3 load first game<br />
B3 jump 50 games backward<br />
C3 load previous game <br />
D3 load random game <br />
E3 load random game at random position<br />
F3 load next game <br />
G3 jump 50 games forward <br />
H3 load last game <br />
<br />
A4 jump to previous event <br />
B4 jump to previous round of same event <br />
C4 load previous game of same black player <br />
D4 load previous game of same white player
E4 load next game of same white player <br />
F4 load next game of same black player <br />
G4 jump to next round of same event <br />
H4 jump to next event <br />
<br /> 
A6 pause live broadcast automatic refresh <br />
B6 restart live broadcast automatic refresh <br />
C6 load previous finished game <br />
D6 load previous unfinished game <br />
E6 load next unfinished game <br />
F6 load next finished game <br />
H6 force games refresh during live broadcast<br />
<br /> 
A7 toggle show comments in game text <br />
B7 toggle show comments on separate lines in game text <br />
C7 toggle highlight last move <br />
D7 flip board <br />
E7 show white on bottom<br />
F7 toggle autoplay next game <br />
H7 toggle enabling shortcut keys <br />
<br /> 
A8 go to the pgn4web website<br />
D8 show PGN source data <br />
<br />
<br /> 
Squares always labeled as if white is at the bottom.<br />
<br />
shortcut keys<br />
h , l game start, end (also arrow up, down keys)<br />
u, i find previous, next comment <br />
j , k move backward, forward (also arrow left, right keys) <br />
<br /> 
a start autoplay <br />
0 stop autoplay <br />
1, 2... autoplay 1 sec, 2 sec... <br />
<br /> 
v, m load first, last game<br />
b, n load previous, next game<br />
c, x load random game, random game at random ply<br />
<br /> 
s repeat last search (also enter key)<br />
<br /> 
r, y pause, restart live broadcast automatic refresh<br />
t force games refresh during live broadcast<br />
<br /> 
p toggle comments<br />
o toggle comments on separate lines <br />
<br /> 
g toggle highlighting <br />
f, d flip board, white on bottom <br />
<br /> 
<br />
 
Shorcut keys currently enabled, disable in the chessboard with shift+escape or clicking square H7.

Version vom 30. März 2010, 23:47 Uhr

PGN

Funktion: Durch korrekte Eingabe eines gültigen PGN-Codes, wird automatisch ein Brett zum Nachspielen mit der Partie erzeugt.


Es ist folgendes zu beachten.

  • es muss sich um einen gültigen PGN Code handeln (z.B.: die Bezeichnungen der Figuren müssen englisch (N für Springer, R für Turm usw.) sein)


  • Schauen wir uns ein Beispiel an:

Eingabe:

<pgn>
[Event "IBM Kasparov vs. Deep Blue Rematch"]
[Site "New York, NY USA"]
[Date "1997.05.11"]
[Round "6"]
[White "Deep Blue"]
[Black "Kasparov, Garry"]
[ECO "B17"]
[Result "1-0"]

1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Nd7 5.Ng5 Ngf6 6.Bd3 e6 7.N1f3 h6 8.Nxe6 Qe7 9.O-O fxe6 10.Bg6+ Kd8 {Kasparov schüttelt kurz den Kopf} 11.Bf4 b5 12.a4 Bb7 13.Re1 Nd5 14.Bg3 Kc8 15.axb5 cxb5 16.Qd3 Bc6 17.Bf5 exf5 18.Rxe7 Bxe7 19.c4 1-0
</pgn>


Wie zu erkennen, steht am Anfang das "pgn Tag" <pgn>, gefolgt von der Notation und am Ende das abschließende pgn Tag </pgn>.


Hat man alles richtig eingegeben, sieht die Sache wie folgt aus.

Die Buttons unter dem Brett erklären sich von selbst.


FEN String Eingabe

  • Einfügen eines FEN-String:


Eingabe:

<pgn>
[FEN "r1b2k1B/pppp3p/2n2p2/8/3N2nq/1QP3bN/P2PP1Bp/R4K1R b - - 0 14"]
[Event "SOK theme63 corr"]
[Site "corr"]
[Date "1990.??.??"]
[Round "?"]
[White "Brinkmann, W"]
[Black "Hunstock, J"]
[Result "0-1"]
[ECO "A00"]
[PlyCount "21"]
[EventDate "1990.??.??"]
[EventType "tourn (corr)"]
[EventRounds "2"]

14... d6 15. Nf3 Qxh3 16. Qxb7 Bxb7 17. Bxh3 Nce5 18. Kg2 Bf4 19. Bxg4 Nxg4 20. Rhf1 Kf7 21. Kh3 h1=Q+ 22. Rxh1 Nf2+ 23. Kg2 Nxh1 24. Rxh1 Rxh8 0-1
</pgn>


Ergibt folgendes Nachspielbrett:


Übersicht der Shortcut Squares

shortcut squares

A1 go to game start
B1 go to previous comment
C1 move 6 half-moves backward
D1 move backward
E1 move forward
F1 move 6 half-moves forward
G1 go to next comment
H1 go to game end

A2 stop autoplay
B2 toggle autoplay
C2 autoplay 1 second
D2 autoplay 2 seconds
E2 autoplay 3 seconds
F2 autoplay 5 seconds
G2 autoplay 10 seconds
H2 autoplay 30 seconds

A3 load first game
B3 jump 50 games backward
C3 load previous game
D3 load random game
E3 load random game at random position
F3 load next game
G3 jump 50 games forward
H3 load last game

A4 jump to previous event
B4 jump to previous round of same event
C4 load previous game of same black player
D4 load previous game of same white player E4 load next game of same white player
F4 load next game of same black player
G4 jump to next round of same event
H4 jump to next event

A6 pause live broadcast automatic refresh
B6 restart live broadcast automatic refresh
C6 load previous finished game
D6 load previous unfinished game
E6 load next unfinished game
F6 load next finished game
H6 force games refresh during live broadcast

A7 toggle show comments in game text
B7 toggle show comments on separate lines in game text
C7 toggle highlight last move
D7 flip board
E7 show white on bottom
F7 toggle autoplay next game
H7 toggle enabling shortcut keys

A8 go to the pgn4web website
D8 show PGN source data


Squares always labeled as if white is at the bottom.

shortcut keys
h , l game start, end (also arrow up, down keys)
u, i find previous, next comment
j , k move backward, forward (also arrow left, right keys)

a start autoplay
0 stop autoplay
1, 2... autoplay 1 sec, 2 sec...

v, m load first, last game
b, n load previous, next game
c, x load random game, random game at random ply

s repeat last search (also enter key)

r, y pause, restart live broadcast automatic refresh
t force games refresh during live broadcast

p toggle comments
o toggle comments on separate lines

g toggle highlighting
f, d flip board, white on bottom


Shorcut keys currently enabled, disable in the chessboard with shift+escape or clicking square H7.