🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Paul Vaughan Fri, 05 Apr 1991 23:35
xboard
#6046
Author: Paul Vaughan
Date: Fri, 05 Apr 1991 23:35
100 lines
2615 bytes
I notice that gnuchess displays "White wins" in a stalemate situation.
Here's an example:

xboard game file -- Fri Apr  5 13:03:14 1991
	vaughan@sunspot vs. ../gnuchessr@localhost
	algebraic
1. e2e4 c7c5
2. g1f3 d7d6
3. d2d4 c5d4
4. f3d4 g8f6
5. b1c3 g7g6
6. f2f3 e7e5
7. d4b3 b8c6
8. c1e3 c8e6
9. c3d5 f6d5
10. e4d5 e6d7
11. d5c6 d7c6
12. d1d2 d8h4
13. d2f2 h4f2
14. e3f2 d6d5
15. e1c1 f8h6
16. c1b1 b7b6
17. f1a6 e8g8
18. h1e1 a8e8
19. f2g3 f7f6
20. e1e2 d5d4
21. d1e1 g8h8
22. g3h4 h6f4
23. h4g3 f4h6
24. a6d3 e8c8
25. b3d2 c6d5
26. d2e4 h6e3
27. c2c3 c8c6
28. c3d4 e3d4
29. g3f2 d4f2
30. e2f2 f8c8
31. e4c3 d5c4
32. d3c4 c6c4
33. f2d2 h7h6
34. e1d1 c4c7
35. d2d8 c8d8
36. d1d8 h8g7
37. c3b5 c7e7
38. d8a8 a7a5
39. a8a7 e7a7
40. b5a7 f6f5
41. a7c8 b6b5
42. c8a7 b5b4
43. a7c6 e5e4
44. f3e4 f5e4
45. c6a5 g7f6
46. a5c6 b4b3
47. a2a4 e4e3
48. b1c1 f6e6
49. c6d4 e6d5
50. d4b3 g6g5
51. c1c2 d5c4
52. b3c1 h6h5
53. b2b3 c4d4
54. a4a5 d4c5
55. b3b4 c5c6
56. a5a6 c6c7
57. b4b5 h5h4
58. a6a7 c7b7
59. b5b6 g5g4
60. c2d3 h4h3
61. g2g3 b7a8
62. d3e3 a8b7
63. c1b3 b7a8
64. b3c5 b7a8x


After 64. b3c5, Black has no legal moves. I don't know why 64. . . .
b7a8 is listed (note that it isn't a legal move because Black's king
is already on a8, not b7.

BTW, here's a sed command file that can be used to transform the raw
xboard.game.save into what gnuchessr will accept after giving the
force command once.

s/xboard .*//
s/.*vs.*//
s/.*algebraic.*//
s/.*\. //
s/ /\
/

This can be used via 
	sed -f<commandfilename> xboard.game.save

I couldn't come up with a simple sed command without resorting to
using a command file because for inserting the newline (the last
command in the file), the interaction between sed and the shell was
giving me fits.


 Paul Vaughan, MCC CAD Program | ARPA: vaughan@mcc.com | Phone: [512] 338-3639
 Box 200195, Austin, TX 78720  | UUCP: ...!cs.utexas.edu!milano!cadillac!vaughan
----------------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads