New version of Xpdnt

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

New version of Xpdnt

Postby David Weller » 02 Jun 2006, 13:11

Hi all,

Could someone let me know if the Makefile works?

http://free-chess.home.comcast.net/

-David
User avatar
David Weller
 
Posts: 135
Joined: 26 Sep 2004, 20:30
Location: USA

Re: New version of Xpdnt

Postby Volker Pittlik » 02 Jun 2006, 15:01

David Weller wrote:Hi all,

Could someone let me know if the Makefile works?
...


Yes and no. The file .depend is missing or empty. Gcc complains about missing *.cpp files. Alll files are there but as *.c.

After renaming all *.c to *.cpp it still doesn't compile:

book.cpp: In function ?void readbook()?:
book.cpp:53: Fehler: ?inCheck? wurde in diesem G?ltigkeitsbereich nicht definiert
make: *** [book.o] Fehler 1


What means. "inCheck" hasn't been defined.


Volker
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland

Re: New version of Xpdnt

Postby David Weller » 02 Jun 2006, 16:00

Hi Volker,

Thanks for trying.

There is a line near the end of the Makefile:

$(CXX) -MM $(OBJS:.o=.cpp) > $@

Which maybe ought to be:

$(CXX) -MM $(OBJS:.o=.c) > $@

But that is only a guess, and perhaps someone else can help.

Xpdnt is written in c NOT c++

I made the above change to Makefile and added InCheck() to the book.h file.

-David
User avatar
David Weller
 
Posts: 135
Joined: 26 Sep 2004, 20:30
Location: USA

Re: New version of Xpdnt

Postby Volker Pittlik » 02 Jun 2006, 16:55

David Weller wrote:...
I made the above change to Makefile and added InCheck() to the book.h file.

-David


After uncommenting

Code: Select all
//#include <sys/timeb.h>


in helper.c, line 11 everything compiles and really:

volker:~/schach/xpdnt> ./xpdnt

xboard
go
move g1f3
go
move g7g6
protover 2
feature setboard=1 ping=1 done=1
ping 14
pong 14
quit
volker:~/schach/xpdnt>


Dehypnotised engines today: 2 :D

Thanks

Also some games here:

[Event "Computer chess game"]
[Site "vlk-ubuntu"]
[Date "2006.06.02"]
[Round "1"]
[White "xpdnt"]
[Black "HoiChess 0.4.1"]
[Result "0-1"]
[TimeControl "180+3"]

1. Nf3 d5 2. d4 c6 3. c4 e6 4. e3 f5 5. Ne5 Nf6 6. Bd3 Nbd7 7. cxd5 Nxe5 8.
dxe5 Nxd5 9. O-O Nb4 10. Be2 Qxd1 11. Bxd1 Nd3 12. Nc3 Nxe5 13. e4 Nd3 14.
Bb3 e5 15. Rd1 Nc5 16. Bc2 Nxe4 17. Nxe4 fxe4 18. Bxe4 Bc5 19. Bg5 O-O 20.
Rd2 h6 21. Be3 Bxe3 22. fxe3 Be6 23. b3 a5 24. h4 a4 25. b4 a3 26. Rd6 Rf6
27. h5 Bc4 28. Rd7 Rf7 29. Rd2 Be6 30. Bg6 Rf6 31. Rf1 Rxf1+ 32. Kxf1 Kf8
33. Kf2 Ke7 34. e4 Ra4 35. Ke3 Rxb4 36. Rd3 Bxa2 37. Rxa3 Rb3+ 38. Rxb3
Bxb3 39. Kd3 Be6 40. g3 b5 41. Bh7 c5 42. Kc3 Kf6 43. Kc2 Kg5 44. Bg6 Kg4
{White resigns} 0-1

[Event "Computer chess game"]
[Site "vlk-ubuntu"]
[Date "2006.06.02"]
[Round "2"]
[White "HoiChess 0.4.1"]
[Black "xpdnt"]
[Result "0-1"]
[TimeControl "180+3"]

1. e4 c5 2. Nf3 Nc6 3. Bb5 g6 4. Bxc6 dxc6 5. d3 Bg7 6. h3 Nf6 7. Nc3 Nd7
8. Be3 Qb6 9. Qc1 Qb4 10. Bd2 Ne5 11. Nh2 Qd4 12. f4 Nd7 13. Nf3 Qd6 14.
O-O Bd4+ 15. Kh1 Qc7 16. Ne2 Bg7 17. d4 O-O 18. c3 h5 19. Be3 cxd4 20. cxd4
Nf6 21. Nc3 Be6 22. b3 Rad8 23. Ng5 Bc8 24. Kg1 Bh6 25. Nf3 Bg7 26. Ne5 e6
27. g4 hxg4 28. hxg4 Nd7 29. g5 Qa5 30. Nc4 Qc7 31. a3 Nb6 32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42. Bf5 Rf6 43. Rxe2 Bc5 44. Re8+ Bf8 45. Qe5
Kg8 46. Qxd5+ Kh8 47. Rd8 Qg7 48. Rd7 Be7 49. Re1 Bf8 50. Rxg7 Bxg7 51.
Qd8+ Rf8 52. Re8 Kg8 53. Qd5+ Kh8 54. Qf7 a5 55. Rxf8+ Bxf8 56. Qh7#
{White mates} 1-0

[Event "Computer chess game"]
[Site "vlk-ubuntu"]
[Date "2006.06.02"]
[Round "4"]
[White "HoiChess 0.4.1"]
[Black "xpdnt"]
[Result "0-1"]
[TimeControl "180+3"]

1. Nf3 Nf6 2. c4 e6 3. Nc3 Bb4 4. Qb3 Nc6 5. a3 Bc5 6. Qd1 e5 7. Nxe5 Bxf2+
8. Kxf2 Nxe5 9. c5 Nfg4+ 10. Ke1 Qh4+ 11. g3 Qe7 12. e4 Qxc5 13. Qe2 O-O
14. Nd5 f5 15. d4 Qxd4 16. Ne7+ Kh8 17. Nxf5 Qa4 18. Bh3 d5 19. Bxg4 Nxg4
20. Rf1 Bxf5 21. Rxf5 Rxf5 22. Qxg4 Re5 23. Qf3 Rxe4+ 24. Kf1 Qc4+ 25. Kg2
Qc2+ 26. Kh3 Re2 27. Qh1 Qf5+ 28. g4 Qf2 29. Bg5 Rf8 30. Rg1 Rxb2 31. Rg3
d4 32. Qg2 c5 33. Be7 Qxg2+ 34. Rxg2 Rf3+ 35. Rg3 Rxg3+ 36. Kxg3 d3 37. Kf3
Rxh2 38. Bg5 d2 39. Bxd2 Rxd2 40. Ke3 Rd8 41. g5 c4 42. Ke4 c3 43. Kf5 c2
44. Ke4 c1=Q 45. g6 Qc4+ 46. Ke3 Rd3+ 47. Ke2 Qc2+ 48. Ke1 Rd1#
{Black mates} 0-1



Volker
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 44 guests