Search found 658 matches

by Edmund
Sat Apr 12, 2014 11:12 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: MadChess UCI_LimitStrength Algorithm
Replies: 12
Views: 2629

Re: MadChess UCI_LimitStrength Algorithm

I once proposed to consistently prune moves from the search, to simulate human oversight. So basically make a history table that keeps track of moves that have already occurred in the tree at previous iterations, and then for each new move that appears in the current iteration decide whether you wi...
by Edmund
Tue Apr 08, 2014 12:59 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Reducing tablebase size with search
Replies: 15
Views: 2417

Re: Reducing tablebase size with search

This idea works, but it is already being used at least in my tables. N=1 and just for captures, otherwise it will get too expensive. Expensive, but depending on the use case still relevant. Yes, I was actually curious how this might affect chess analysis from the human perspective. If such a method...
by Edmund
Mon Apr 07, 2014 6:46 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Reducing tablebase size with search
Replies: 15
Views: 2417

Re: Reducing tablebase size with search

This idea works, but it is already being used at least in my tables. N=1 and just for captures, otherwise it will get too expensive. Expensive, but depending on the use case still relevant. If you only need to store the values for positions, where an engine predicts a wrong value you will get decre...
by Edmund
Sun Apr 06, 2014 10:19 pm
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 9495

Re: JSUCI 1.0 - connect javascript chess engines to UCI

Thanks for the update. If only V8 workers could fire up sub-workers, there would be no problem. I was wondering if the engine could listen on an event handler (like it would with browsers) without a worker, allowing the engine to fire off a worker, but jsUCI would have to poll for comms(?) and it's...
by Edmund
Sun Apr 06, 2014 8:01 pm
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 9495

Re: JSUCI 1.0 - connect javascript chess engines to UCI

Congratulations on the progress, colin. Regarding V8, it is getting more complicated than I thought. V8 as well as Javascript are single-threaded. That means when I start executing the javascript code it doesn't give back control to the interface till the script terminates (so it cant process the me...
by Edmund
Sun Apr 06, 2014 7:52 pm
Forum: Computer Chess Club: General Topics
Topic: Javascript respectively Java to WinBoard-converter?
Replies: 2
Views: 443

Re: Javascript respectively Java to WinBoard-converter?

colin is correct. jsUCI is perfectly capable to interface between winboard and javascript too. I just have happened to write example code of how to implement it for uci.

The only protocol related command that jsUCI parses is "quit", but that is valid for both winboard and uci.
by Edmund
Wed Apr 02, 2014 1:44 am
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 9495

Re: JSUCI 1.0 - connect javascript chess engines to UCI

Wouldn't it be possible to just set a flag and when the flag is set unwind the search-stack disregarding the outcome at that point and eventually post the bestmove found from a state before the flag got set? I'm quite possibly missing something here but AIUI (and from what I can see) the worker onm...
by Edmund
Mon Mar 31, 2014 4:40 pm
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 9495

Re: JSUCI 1.0 - connect javascript chess engines to UCI

As far as I understand it, it is a general issue with Chrome that Workers may not start other Workers. It would theoretically possible to add this feature with the tool I have written, but would lead to a lot of added complexity. I think it is not essential for the time being and maybe the V8 proje...
by Edmund
Mon Mar 31, 2014 3:42 pm
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 9495

Re: JSUCI 1.0 - connect javascript chess engines to UCI

Woo! I have Lozza working in Arena (well in principle anyway). I was going to spawn a sub-worker with Lozza in it on UCI GO, so I could easily kill it on UCI STOP, but V8 doesn't seem to like a worker starting another one. NB: Can't currently use Hiarcs UI because it says your exe is 'not a valid e...
by Edmund
Sat Mar 29, 2014 12:22 am
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 9495

Re: JSUCI 1.0 - connect javascript chess engines to UCI

Hi Edmund, Fantastic. I've been playing around with a Javascript engine recently and being able to use a standard UI would be great. I actually started off with similar intentions to your interface but got seduced by the engine. Lozza uses the JSON web worker interface to do an analysis of N ply wi...