Friday, 5 February 2021

Testing by crashing

 Over the past few months I have been working on some python apps that automatically download game scores from online chess servers, based on the outputs from pairing programs. They have mainly been used by FIDE (for the Online Olympiad) and the ECF (for some of their events). 

For normal events the scripts seem to work fine, but there are also special cases, when they don't work so well. I am currently in the process of trying to make the "players play two games, with alternate colours, one after the other" feature work, while dealing with the tendency of players to rematch  after their official games and play 15 games of hyper bullet before the round is completed. To do this, I am resorting to the time honoured coding method of "seeing where the program crashes".

But when it didn't crash I was able to grab the following game from one of the events it will be used on, the 4NCL Online Open. A nice win by black, whose identity will no doubt be familiar to most chess players.

   

Li,Ethan Bingxuan (1787) - Crowther,Mark D (2078) [A00]
1st 4NCL Spring Online Congress Online - https://lichess.org/ (1.12), 02.02.2021

Start positionPrevious MoveNext MoveEnd positionPlay movesStop playing
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. d3 d6 6. h3 b5 7. Bb3 Na5 8. O-O Be7 9. c3 Nxb3 10. axb3 O-O 11. Nbd2 Kh8 12. Re1 Ng8 13. Nf1 f5 14. d4 fxe4 15. Rxe4 Bb7 16. Re3 e4 17. N3h2 d5 18. Ng4 Bd6 19. Re2 Qh4 20. c4 c6 21. Ngh2 Rae8 22. f3 Nh6 23. fxe4 dxe4 24. Bxh6 Qxh6 25. Ng4 Qg5 26. Qe1 h5 27. Nf2 c5 28. d5 Be5 29. Nxe4 Qg6 30. Rd1 Bd4+ 31. Kh1 Bc8 32. b4 Bxh3 33. bxc5 Rxe4 34. Rxd4 Rxd4 35. gxh3 bxc4 36. d6 Qf5 37. Ng3 Qxc5 38. Re5 Qxd6 0-1

No comments: