View on GitHub

Chess Replayer

A javascript chess replayer implemented as a jQuery plugin

Download this project as a .zip file Download this project as a tar.gz file

Overview

jquery.chess-replayer is a jQuery plugin that displays a complete chess game. It supports variations and annotations.

jquery.chess-replayer was designed to be as easy as possible to use. Complete usage information

Examples

Morphy vs the Duke of Brunswick and Count Isouard

Morphy vs the Duke of Brunswick and Count Isouard
1. e4 e5 2. Nf3 d6 3. d4 Bg4 4. dxe5 Bxf3 5. Qxf3 dxe5 6. Bc4 Nf6 7. Qb3 Qe7 8. Nc3 c6 9. Bg5 b5 10. Nxb5 cxb5 11. Bxb5+ Nbd7 12. O-O-O Rd8 13. Rxd7 Rxd7 14. Rd1 Qe6 15. Bxd7+ Nxd7 16. Qb8+ Nxb8 17. Rd8#

Variations and comments

Taken with permission from the author from us chess league news

Esserman, Marc - Fedorowicz, John, ICC 74 30 u, 2011-11-09, 1-0
1. e4□ c5□ 2. Nf3!? Nc6! 3. d4 cxd4 4. Nxd4?! Nf6 5. Nc3 e5!? 6. Ndb5 d6 7. Bg5 a6 8. Na3 b5 9. Nd5 Be7 10. Bxf6 Bxf6 11. c3 O-O 12. Nc2 Bg5 13. a4 bxa4 14. Rxa4 a5 15. Bc4 Rb8 16. Ra2 Kh8 17. Nce3 g6 18. h4! Bxh4 19. g3 Bg5 20. f4! exf4 21. gxf4 Bh4+ 22. Kf1 f5 23. b4! fxe4 24. Rah2 g5 25. Ke2!! +− Rb7
( 25... Rf7! 26. b5 Qf8! 27. Kd2! Bd7 ( 27... gxf4 28. Rxh4 fxe3+ 29. Kc1! Ne5 30. Nf6! Bf5 31. Qh5!! ) 28. Kc2! Nd8 29. fxg5 Bxg5 30. Qd4+ Kg8 31. Rxh7! )
26. b5! Ne5
( 26... Nb8 27. Qd4+ Rg7 28. fxg5! Bxg5 29. Rxh7+ Kg8 30. Nf6# ( 30. Ne7# ) ( 30. Rxg7# ) ( 30. Qxg7# ) )
27. fxe5 dxe5 28. Qb1 Qd6
( 28... Rf4! 29. Nxf4 exf4 30. Qxe4! Re7 ( 30... fxe3 31. Rd1 Qf8 32. Qe5+ Rg7 33. Rf1 Qd8 ) 31. Rxh4! Rxe4 ( 31... gxh4 32. Qxf4! ) 32. Rxh7# )
29. Qxe4 Rbf7 30. Rxh4! gxh4 31. Rxh4 Rg7 32. Bd3 1-0

Setup from FEN header in the pgn

Larry - Andrew, Summer Swiss, 2011-07-27, 0-1

Scid Annotation Test

Two Knights - 4. Ng5, Two Knights Defense
1. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4. Ng5!? *