funny king hunt

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

smcracraft
Posts: 737
Joined: Wed Mar 08, 2006 8:08 pm
Location: Orange County California
Full name: Stuart Cracraft

funny king hunt

Post by smcracraft »

My program played black in this game with a time control of Fischer 10+10.

The opponent played well and then resigned on the last move in a drawn position.

I am supplying the game here in computer algebraic because that's what I have.

Anyone have a standalone parser-program which one could just convert this data to and have it auto-convert
from the program itself?

That would be nice.

Then I wouldn't have to write it.

--Stuart

d2d4 d7d5
c1f4 g8f6
g1f3 b8c6
e2e3 c8g4
b1d2 g4f3
d2f3 a7a6
f1d3 e7e6
a2a3 f8d6
f4g3 e8g8
f3e5 d6e5
d4e5 f6d7
f2f4 f7f6
d1h5 h7h6
h5g6 c6e7
g6h7 g8f7
f4f5 f8h8
f5e6 f7e6
h7g7 h8g8
g7h6 g8h8
h6f4 f6e5
f4g4 e7f5
d3f5 e6d6
e1c1 d7b6
g4g6 d6c5
b2b4 c5b5
f5d3 b5a4
c1b2 e5e4
d3e4 b6c4
b2a2 c7c6
d1d4 d8g8
g6g8 a8g8
e4d3 g8g3
d3c4 d5c4
h2g3 h8h1
d4c4 h1e1
c4c5 b7b6
c5c6 a4b5
c6e6 a6a5
e6e5 b5c4
b4a5 b6a5
g3g4 e1e2
g2g3 a5a4
a2b2 e2c2
b2b1 c2g2
g4g5 g2g3
b1c2 g3g5
e5e4 c4b5
c2c3 g5c5
c3d4 c5c4
d4d5 c4c3
e4b4 b5a5
e3e4 c3a3
b4b7 a3a1
e4e5 a4a3
e5e6 a3a2
b7a7 a5b6
a7a2 a1a2
e6e7 a2a8
d5d6 a8g8
D Sceviour
Posts: 570
Joined: Mon Jul 20, 2015 5:06 pm

Re: funny king hunt

Post by D Sceviour »

smcracraft wrote: Mon Nov 19, 2018 4:51 am Anyone have a standalone parser-program which one could just convert this data to and have it auto-convert
from the program itself?.
Hello Stuart,
Paste the moves into Winboard and it will automatically convert it to pgn style.

[pgn][Event "Stuart's Game"] [Site "?"] [Date "2018.11.18"] [Round "-"] [White "?"] [Black "?"] [Result "1/2-1/2"] 1. d4 d5 2. Bf4 Nf6 3. Nf3 Nc6 4. e3 Bg4 5. Nbd2 Bxf3 6. Nxf3 a6 7. Bd3 e6 8. a3 Bd6 9. Bg3 O-O 10. Ne5 Bxe5 11. dxe5 Nd7 12. f4 f6 13. Qh5 h6 14. Qg6 Ne7 15. Qh7+ Kf7 16. f5 Rh8 17. fxe6+ Kxe6 18. Qxg7 Rg8 19. Qxh6 Rh8 20. Qf4 fxe5 21. Qg4+ Nf5 22. Bxf5+ Kd6 23. O-O-O Nb6 24. Qg6+ Kc5 25. b4+ Kb5 26. Bd3+ Ka4 27. Kb2 e4 28. Bxe4 Nc4+ 29. Ka2 c6 30. Rd4 Qg8 31. Qxg8 Raxg8 32. Bd3? Rxg3 33. Bxc4 dxc4 34. hxg3 Rxh1 35. Rxc4 Re1 36. Rc5 b6 37. Rxc6 Kb5 38. Re6 a5 39. Re5+ Kc4 40. bxa5 bxa5 41. g4 Re2 42. g3 a4 43. Kb2? Rxc2+ 44. Kb1 Rg2 45. g5 Rxg3 46. Kc2 Rxg5 47. Re4+ Kb5 48. Kc3 Rc5+ 49. Kd4 Rc4+ 50. Kd5 Rc3 51. Rb4+ Ka5 52. e4 Rxa3 53. Rb7 Ra1 54. e5 a3 55. e6 a2 56. Ra7+ Kb6 57. Rxa2 Rxa2 58. e7 Ra8 59. Kd6 Rg8 1/2-1/2 [/pgn]
smcracraft
Posts: 737
Joined: Wed Mar 08, 2006 8:08 pm
Location: Orange County California
Full name: Stuart Cracraft

Re: funny king hunt

Post by smcracraft »

Is there a program in C or L(Unix) anyone knows of which I can just use as a separate function callable from my program?

I know how to do the rest but don't want to depend on external copy/paste/gui.

cli or function only.
smcracraft
Posts: 737
Joined: Wed Mar 08, 2006 8:08 pm
Location: Orange County California
Full name: Stuart Cracraft

Re: funny king hunt

Post by smcracraft »

Score was 0-1. Opponent resigned in a drawn position after Rg8. I explained to him what he should have done. While he did want a rematch, I had to go watch this instead which my friend and colleague at Stanford Research Institute sent me (an expert on LENR) -- https://youtu.be/Nz0Z94Ix-kc

If we can scale that up, it will really help energy post-fossil-fuel.
D Sceviour wrote: Mon Nov 19, 2018 5:15 am
smcracraft wrote: Mon Nov 19, 2018 4:51 am Anyone have a standalone parser-program which one could just convert this data to and have it auto-convert
from the program itself?.
Hello Stuart,
Paste the moves into Winboard and it will automatically convert it to pgn style.

[pgn][Event "Stuart's Game"] [Site "?"] [Date "2018.11.18"] [Round "-"] [White "?"] [Black "?"] [Result "1/2-1/2"] 1. d4 d5 2. Bf4 Nf6 3. Nf3 Nc6 4. e3 Bg4 5. Nbd2 Bxf3 6. Nxf3 a6 7. Bd3 e6 8. a3 Bd6 9. Bg3 O-O 10. Ne5 Bxe5 11. dxe5 Nd7 12. f4 f6 13. Qh5 h6 14. Qg6 Ne7 15. Qh7+ Kf7 16. f5 Rh8 17. fxe6+ Kxe6 18. Qxg7 Rg8 19. Qxh6 Rh8 20. Qf4 fxe5 21. Qg4+ Nf5 22. Bxf5+ Kd6 23. O-O-O Nb6 24. Qg6+ Kc5 25. b4+ Kb5 26. Bd3+ Ka4 27. Kb2 e4 28. Bxe4 Nc4+ 29. Ka2 c6 30. Rd4 Qg8 31. Qxg8 Raxg8 32. Bd3? Rxg3 33. Bxc4 dxc4 34. hxg3 Rxh1 35. Rxc4 Re1 36. Rc5 b6 37. Rxc6 Kb5 38. Re6 a5 39. Re5+ Kc4 40. bxa5 bxa5 41. g4 Re2 42. g3 a4 43. Kb2? Rxc2+ 44. Kb1 Rg2 45. g5 Rxg3 46. Kc2 Rxg5 47. Re4+ Kb5 48. Kc3 Rc5+ 49. Kd4 Rc4+ 50. Kd5 Rc3 51. Rb4+ Ka5 52. e4 Rxa3 53. Rb7 Ra1 54. e5 a3 55. e6 a2 56. Ra7+ Kb6 57. Rxa2 Rxa2 58. e7 Ra8 59. Kd6 Rg8 1/2-1/2 [/pgn]