Search found 349 matches

by op12no2
Wed Apr 02, 2014 3:28 pm
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 10640

Re: JSUCI 1.0 - connect javascript chess engines to UCI

Hi Edmund, This is an Arena log snippet. To test I'm sending "info string lastMessage " in my stats update function, but after Arena sends "stop", lastMessage does not change. Any ideas...? 2014-04-02 16:12:11.125<--1:info string go infinite 2014-04-02 16:12:11.140<--1:info string go infinite 2014-0...
by op12no2
Wed Apr 02, 2014 8:23 am
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 10640

Re: JSUCI 1.0 - connect javascript chess engines to UCI

With this new variable lastMessage I could imagine that you have your own variable with the last processed message and keep comparing whether there is a new message. Another advantage of this system is that you can treat more than just the stop command from within the search (e.g. setoption or pond...
by op12no2
Mon Mar 31, 2014 4:46 pm
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 10640

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 op12no2
Mon Mar 31, 2014 3:51 pm
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 10640

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 op12no2
Mon Mar 31, 2014 1:56 pm
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 10640

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 en...
by op12no2
Sat Mar 29, 2014 12:57 am
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 10640

Re: JSUCI 1.0 - connect javascript chess engines to UCI

I just head a look at your source. It looks very well organized. Connecting it to uci should be straight forward. It is missing an algebraic move parser and would have to change the way of output, but the rest looks suited perfectly. Please let me know if you encounter any dificulties. All the best...
by op12no2
Fri Mar 28, 2014 9:23 pm
Forum: Computer Chess Club: General Topics
Topic: JSUCI 1.0 - connect javascript chess engines to UCI
Replies: 45
Views: 10640

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 wit...
by op12no2
Tue Mar 04, 2014 10:26 am
Forum: Computer Chess Club: General Topics
Topic: Lozza - A javascript UI and engine
Replies: 3
Views: 888

Re: Lozza - A javascript UI and engine

Hi Daniel, Are you doing something in Javascript? I think modern Javascript engines like Google Chrome's V8, which compiles to the native instruction set can probably be used to develop a serious engine and in some ways having whats-hot optimisation is a bonus; not that Lozza will ever be in that ca...
by op12no2
Sat Mar 01, 2014 11:15 pm
Forum: Computer Chess Club: General Topics
Topic: Lozza - A javascript UI and engine
Replies: 3
Views: 888

Lozza - A javascript UI and engine

Hi, I'm developing a javascript UI and to test it a simple javascript engine. It's not up to actually playing a game, but you can set up positions using FENs/EPDs and start an analysis or do a perft(n). The UI/engine interface is JSON a encoded EPD; but it could be UCI and other javascript engines (...