Search found 79 matches
- Mon Jan 28, 2019 4:46 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: UCI question
- Replies: 11
- Views: 3260
Re: UCI question
If the perl script doesn't work for you (which it might), you might be able to write an expect script. Expect will wait for certain conditions before proceeding. That way, for example, the script can wait for "readyok" before sending "position ...", and wait for "bestmove ..." before sending "quit"
- Mon Jan 28, 2019 8:18 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: UCI question
- Replies: 11
- Views: 3260
Re: UCI question
The UCI protocol says nothing about command line arguments. I am guessing you were using some engine-specific feature. Do you know which engine you were using? Also, it sounds really useful to have a standard "interface" for executing commands using command-line parameters. It would simplify certain...
- Sun Jan 27, 2019 8:21 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Chess engine on ASIC bitcoin miner?
- Replies: 7
- Views: 2281
Re: Chess engine on ASIC bitcoin miner?
The entire point of ASICs is that they are designed to do exactly 1 thing very well, unlike CPUs and GPUs which are very general-purpose.
- Fri Jan 25, 2019 11:39 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Internet Game Server
- Replies: 21
- Views: 9691
Re: Internet Game Server
BTW using CGI, if you set up your server correctly, you can get the basic auth username and password passed through CGI: https://httpd.apache.org/docs/trunk/mod/mod_authnz_fcgi.html . By default, it appears that the webserver attempts to perform auth for you. You can get the request method from REQU...
- Fri Jan 25, 2019 10:45 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Null move pruning, only when score >= beta?
- Replies: 8
- Views: 2194
Re: Null move pruning, only when score >= beta?
Wait, I think I am misunderstanding you. When you say "score", do you mean the static evaluation of the current position?
- Fri Jan 25, 2019 6:07 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Null move pruning, only when score >= beta?
- Replies: 8
- Views: 2194
Re: Null move pruning, only when score >= beta?
I haven't implemented null move pruning, but theoretically... Pruning when score == beta should only fail for the same case as pruning when score > beta -- when the side to move is in zugzwang. Pruning for score >= beta should be strictly better, unless there is some other bug with your null pruning...
- Thu Jan 24, 2019 9:06 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Elo boost and time management
- Replies: 19
- Views: 4810
Re: Elo boost and time management
I believe it should be:
Code: Select all
nextAvailableTimeForMove = remainingTime/remainingMove - smallMargin
- Thu Jan 24, 2019 8:46 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Internet Game Server
- Replies: 21
- Views: 9691
Re: Internet Game Server
What I currently have is a CGI 'server engine' that supports the following arguments on HTTP GET requests: A couple things to note: you should never use HTTP GET for requests which update the state of the server. The way the HTTP protocol works is that GET requests are designed to be cachable anywh...
- Thu Jan 24, 2019 5:45 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Internet Game Server
- Replies: 21
- Views: 9691
Re: Internet Game Server
I agree with Srdja. Also, dealing with plain text files will limit scalability after some point. And you pointed out that multiple processes will have to modify the same file at a time, which could introduce concurrency bugs. The simple solution (IMO) is to let a DB handle that complexity for you. I...
- Wed Jan 23, 2019 7:00 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Linux friendly engines at all levels
- Replies: 60
- Views: 11500
Re: Linux friendly engines at all levels
My engine GearHeart is around the strength of TSCP. It's supposed to be a reference implementation of a chess engine, with most of the same features as Vice, but written in a C++ style. It should build on linux, but you'll need boost and sparsehash libs (you should be able to apt-get them).