Search found 338 matches

by phhnguyen
Sat Jul 06, 2019 7:01 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 618

Re: Xboard, CECP, how to handle long inits

I have tried in cutechess (uci) to start the loading the openings book and the gaviota tablebases when receiving the command isready and after making it answer with readyok. In this case I have no problems and I can play 8 concurrent games, not sure if I would have problems with bitbases and uci on...
by phhnguyen
Fri Jul 05, 2019 1:27 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 618

Re: Xboard, CECP, how to handle long inits

Thanks HGM for very detail and clear reply! Just a bit out of topic: for UCI, what are commands similar to the pair "feature done='0'/'1'" of WB? In other words, how to make GUI wait longer for engine initialization? Thanks * isready this is used to synchronize the engine with the GUI. When the GUI...
by phhnguyen
Fri Jul 05, 2019 1:01 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 618

Re: Xboard, CECP, how to handle long inits

Another off topic issue since I am confused in what is correct reactions between GUI and engines. I am trying to support WB protocol for my app (Banksia the chess tournament manager) and prefer to work with moves in coordinate format which I think it is standard in WB protocol document. When testing...
by phhnguyen
Fri Jul 05, 2019 12:55 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 618

Re: Xboard, CECP, how to handle long inits

Thanks HGM for very detail and clear reply!

Just a bit out of topic: for UCI, what are commands similar to the pair "feature done='0'/'1'" of WB? In other words, how to make GUI wait longer for engine initialization?

Thanks
by phhnguyen
Thu Jul 04, 2019 4:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 618

Re: Xboard, CECP, how to handle long inits

XBoard sends 'ping' after each 'new', and in tournament mode actually waits with starting the clock until both engines have submitted the corresponding 'pong's. Not sure if it also does that in old-fashioned two-player matches, though. (The tournament mode has another, much more complex NextGame fu...
by phhnguyen
Thu Jul 04, 2019 12:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Banksia - Yet another Chess Tournament Manager
Replies: 14
Views: 1050

Re: Banksia - Yet another Chess Tournament Manager

Thank Roland! But, while we speak of compilation, I inform you that I tried without success to compile with g++ (MinGW). Maybe it is also just a missing declaration? Here is an abstract of g++ output: C:\Roland\echecs\sources\banksia\projects>g++ -std=c++11 -c ../src/3rdparty/json/*.cpp -O3 -DNDEBUG...
by phhnguyen
Wed Jul 03, 2019 1:52 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Banksia - Yet another Chess Tournament Manager
Replies: 14
Views: 1050

Re: Banksia - Yet another Chess Tournament Manager

Thanks! Just fixed it. Missing a declare of <ctime>. Not sure why in my system (Xcode + MacOS) it is fine to compile but not in Visual Studio + Windows.
by phhnguyen
Wed Jul 03, 2019 12:05 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Banksia - Yet another Chess Tournament Manager
Replies: 14
Views: 1050

Re: Banksia - Yet another Chess Tournament Manager

Roland Chastain wrote:
Tue Jul 02, 2019 6:50 am
OK, it works now.
Thanks Roland Chastain :)

I have updated the code to fix some bugs, improve interface and support opening books in pgn format (edp was supported).
by phhnguyen
Mon Jul 01, 2019 11:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Banksia - Yet another Chess Tournament Manager
Replies: 14
Views: 1050

Re: Banksia - Yet another Chess Tournament Manager

Roland Chastain wrote:
Mon Jul 01, 2019 5:23 pm
I didn't look into the source code, but I suspect that this has a relation with castling rights.
Yes, it is a bug about clearing castling rights. The bug is fixed. Please help me to test again. Thank you a lot!
by phhnguyen
Mon Jul 01, 2019 10:03 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Banksia - Yet another Chess Tournament Manager
Replies: 14
Views: 1050

Banksia - Yet another Chess Tournament Manager

I have just released my new open source: Banksia - a Chess Tournament Manager for chess engines (it helps chess engines fighting each other)! Some features: - Command line interface (cli) - Small, fast - Simple and short (in term of design and implementation) - Support chess engines with UCI protoco...