How to achieve this?
Follow the same steps as in the Chess game example. The PGN string representing the game used here is provided below:
[Event "1<sup>st</sup> American Chess Congress"]
[Site "New York, NY USA"]
[Date "1857.11.03"]
[Round "4.6"]
[White "Paulsen, Louis"]
[Black "Morphy, Paul"]
[Result "0-1"]
1. e4 e5 2. Nf3 Nc6 3. Nc3 Nf6 4. Bb5 Bc5 5. O-O O-O 6. Nxe5 Re8 7. Nxc6 dxc6
8. Bc4 b5 9. Be2 Nxe4 10. Nxe4 Rxe4 11. Bf3 Re6 12. c3 Qd3 13. b4 Bb6 14. a4
bxa4 15. Qxa4 Bd7 16. Ra2 Rae8 17. Qa6
{[#][%csl Yf3][%cal Rd3f3,Re6g6,Gg6g1] Morphy took twelve minutes over his next
move, probably to assure himself that the combination was sound and that he had
a forced win in every variation.}
17... Qxf3 $3 18. gxf3 Rg6+ 19. Kh1 Bh3 20. Rd1 ({Not} 20. Rg1 Rxg1+ 21. Kxg1
Re1+ $19) 20... Bg2+ 21. Kg1 Bxf3+ 22. Kf1 Bg2+
(22... Rg2 $1 {would have won more quickly. For instance:} 23. Qd3 Rxf2+
24. Kg1 Rg2+ 25. Kh1 Rg1#)
23. Kg1 Bh3+ 24. Kh1 Bxf2 25. Qf1 {Absolutely forced.} 25... Bxf1 26. Rxf1 Re2
27. Ra1 Rh6 28. d4 Be3 0-1