WIP
This commit is contained in:
109
src/test-data/pgns.ts
Normal file
109
src/test-data/pgns.ts
Normal file
@@ -0,0 +1,109 @@
|
||||
const pgns = [
|
||||
`[Event "Paris"]
|
||||
[Site "Paris FRA"]
|
||||
[Date "1858.??.??"]
|
||||
[EventDate "?"]
|
||||
[Round "?"]
|
||||
[Result "1-0"]
|
||||
[White "Paul Morphy"]
|
||||
[Black "Duke Karl / Count Isouard"]
|
||||
[ECO "C41"]
|
||||
[WhiteElo "?"]
|
||||
[BlackElo "?"]
|
||||
[PlyCount "33"]
|
||||
|
||||
1.e4 e5 2.Nf3 d6 3.d4 Bg4 {This is a weak move
|
||||
already.--Fischer} 4.dxe5 Bxf3 5.Qxf3 dxe5 6.Bc4 Nf6 7.Qb3 Qe7
|
||||
8.Nc3 c6 9.Bg5 {Black is in what's like a zugzwang position
|
||||
here. He can't develop the [Queen's] knight because the pawn
|
||||
is hanging, the bishop is blocked because of the
|
||||
Queen.--Fischer} 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# 1-0`,
|
||||
|
||||
`[Event "Hoogovens Group A"]
|
||||
[Site "Wijk aan Zee NED"]
|
||||
[Date "1999.01.20"]
|
||||
[EventDate "1999.01.16"]
|
||||
[Round "4"]
|
||||
[Result "1-0"]
|
||||
[White "Garry Kasparov"]
|
||||
[Black "Veselin Topalov"]
|
||||
[ECO "B07"]
|
||||
[WhiteElo "2812"]
|
||||
[BlackElo "2700"]
|
||||
[PlyCount "87"]
|
||||
|
||||
1. e4 d6 2. d4 Nf6 3. Nc3 g6 4. Be3 Bg7 5. Qd2 c6 6. f3 b5
|
||||
7. Nge2 Nbd7 8. Bh6 Bxh6 9. Qxh6 Bb7 10. a3 e5 11. O-O-O Qe7
|
||||
12. Kb1 a6 13. Nc1 O-O-O 14. Nb3 exd4 15. Rxd4 c5 16. Rd1 Nb6
|
||||
17. g3 Kb8 18. Na5 Ba8 19. Bh3 d5 20. Qf4+ Ka7 21. Rhe1 d4
|
||||
22. Nd5 Nbxd5 23. exd5 Qd6 24. Rxd4 cxd4 25. Re7+ Kb6
|
||||
26. Qxd4+ Kxa5 27. b4+ Ka4 28. Qc3 Qxd5 29. Ra7 Bb7 30. Rxb7
|
||||
Qc4 31. Qxf6 Kxa3 32. Qxa6+ Kxb4 33. c3+ Kxc3 34. Qa1+ Kd2
|
||||
35. Qb2+ Kd1 36. Bf1 Rd2 37. Rd7 Rxd7 38. Bxc4 bxc4 39. Qxh8
|
||||
Rd3 40. Qa8 c3 41. Qa4+ Ke1 42. f4 f5 43. Kc1 Rd2 44. Qa7 1-0`,
|
||||
|
||||
`[Event "Karpov - Kasparov World Championship Match"]
|
||||
[Site "Moscow URS"]
|
||||
[Date "1985.10.15"]
|
||||
[EventDate "?"]
|
||||
[Round "16"]
|
||||
[Result "0-1"]
|
||||
[White "Anatoly Karpov"]
|
||||
[Black "Garry Kasparov"]
|
||||
[ECO "B44"]
|
||||
[WhiteElo "?"]
|
||||
[BlackElo "?"]
|
||||
[PlyCount "80"]
|
||||
|
||||
1.e4 c5 2.Nf3 e6 3.d4 cxd4 4.Nxd4 Nc6 5.Nb5 d6 6.c4 Nf6 7.N1c3
|
||||
a6 8.Na3 d5 9.cxd5 exd5 10.exd5 Nb4 11.Be2 Bc5 12.O-O O-O
|
||||
13.Bf3 Bf5 14.Bg5 Re8 15.Qd2 b5 16.Rad1 Nd3 17.Nab1 h6 18.Bh4
|
||||
b4 19.Na4 Bd6 20.Bg3 Rc8 21.b3 g5 22.Bxd6 Qxd6 23.g3 Nd7
|
||||
24.Bg2 Qf6 25.a3 a5 26.axb4 axb4 27.Qa2 Bg6 28.d6 g4 29.Qd2
|
||||
Kg7 30.f3 Qxd6 31.fxg4 Qd4+ 32.Kh1 Nf6 33.Rf4 Ne4 34.Qxd3 Nf2+
|
||||
35.Rxf2 Bxd3 36.Rfd2 Qe3 37.Rxd3 Rc1 38.Nb2 Qf2 39.Nd2 Rxd1+
|
||||
40.Nxd1 Re1+ 0-1`,
|
||||
|
||||
`1. e4 c5 2. Nc3 a6 3. g3 b5 4. Bg2 Bb7 5. d3 e6 6. f4 d6 7. Nh3 Qc7 8. O-O Be7 9. Be3 Nc6 10. f5 O-O-O 11. Nf4 e5 12. Nfd5 Qb8 13. Nb6+ Kc7 14. Ncd5#`,
|
||||
|
||||
`[Event "Casual Bullet game"]
|
||||
[Site "https://lichess.org/OWjQmLN9"]
|
||||
[Date "2022.01.12"]
|
||||
[White "Anonymous"]
|
||||
[Black "Anonymous"]
|
||||
[Result "1-0"]
|
||||
[UTCDate "2022.01.12"]
|
||||
[UTCTime "20:40:08"]
|
||||
[WhiteElo "?"]
|
||||
[BlackElo "?"]
|
||||
[Variant "Standard"]
|
||||
[TimeControl "120+1"]
|
||||
[ECO "A00"]
|
||||
[Opening "Polish Opening"]
|
||||
[Termination "Normal"]
|
||||
[Annotator "lichess.org"]
|
||||
|
||||
1. b4 { A00 Polish Opening } d5 2. Bb2 Nf6 3. Nf3 Nc6 4. b5 Nb8 5. e3 Bd7 6. Be2 c6 7. a4 cxb5 8. Bxb5 Bxb5 9. axb5 Qb6 10. Nc3 e6 11. O-O Be7 12. Nd4 O-O 13. d3 e5 14. Nf3 d4 15. exd4 exd4 16. Ne4 Nxe4 17. dxe4 Qxb5 18. Bxd4 Nc6 19. Rb1 Qa6 20. Ba1 Rfd8 21. Qe1 Rab8 22. e5 Bc5 23. e6 fxe6 24. Qxe6+ Kh8 25. Ng5 Re8 26. Nf7+ Kg8 27. Nh6+ Kf8 28. Qf7# { White wins by checkmate. } 1-0`,
|
||||
|
||||
`[Event "Casual Bullet game"]
|
||||
[Site "https://lichess.org/h3IEiExz"]
|
||||
[Date "2022.01.13"]
|
||||
[White "Anonymous"]
|
||||
[Black "Anonymous"]
|
||||
[Result "1-0"]
|
||||
[UTCDate "2022.01.13"]
|
||||
[UTCTime "03:00:43"]
|
||||
[WhiteElo "?"]
|
||||
[BlackElo "?"]
|
||||
[Variant "Standard"]
|
||||
[TimeControl "120+1"]
|
||||
[ECO "A00"]
|
||||
[Opening "Polish Opening"]
|
||||
[Termination "Normal"]
|
||||
[Annotator "lichess.org"]
|
||||
|
||||
1. b4 { A00 Polish Opening } d5 2. Bb2 e6 3. e3 f6 4. b5 Bd7 5. a4 a6 6. Nc3 axb5 7. axb5 Rxa1 8. Bxa1 Ne7 9. Nf3 c6 10. bxc6 bxc6 11. Be2 c5 12. O-O c4 13. d3 cxd3 14. Qxd3 Nbc6 15. Nb5 Nb8 16. Nd6# { White wins by checkmate. } 1-0`,
|
||||
];
|
||||
|
||||
export default pgns;
|
||||
Reference in New Issue
Block a user