Page 1 of 1

Adjudicator via API

Posted: Wed Aug 28, 2019 10:07 am
by wulfheart
Hello,

is it possible to move the adjudicator to an external API?

Re: Adjudicator via API

Posted: Wed Aug 28, 2019 2:12 pm
by jmo1121109
No

Re: Adjudicator via API

Posted: Wed Aug 28, 2019 2:21 pm
by Chaqa
Would be a neat project though. Maybe have some sort of JSON structure of a board state with moves, and then the adjudicator takes an API call and returns another board state?

Re: Adjudicator via API

Posted: Sun Sep 08, 2019 5:15 pm
by wulfheart
Thanks for your quick answer.

Re: Adjudicator via API

Posted: Mon Dec 16, 2019 6:40 pm
by orathaic
Chaqa wrote:
Wed Aug 28, 2019 2:21 pm
Would be a neat project though. Maybe have some sort of JSON structure of a board state with moves, and then the adjudicator takes an API call and returns another board state?
That would probably be possible to do on another server (so no load here), could work well with an app which does all the maps drawing and such locally.

But would not include results here/take advantage of the RR rating of the webdip player base.

Re: Adjudicator via API

Posted: Mon Dec 16, 2019 6:50 pm
by Chaqa
orathaic wrote:
Mon Dec 16, 2019 6:40 pm
Chaqa wrote:
Wed Aug 28, 2019 2:21 pm
Would be a neat project though. Maybe have some sort of JSON structure of a board state with moves, and then the adjudicator takes an API call and returns another board state?
That would probably be possible to do on another server (so no load here), could work well with an app which does all the maps drawing and such locally.

But would not include results here/take advantage of the RR rating of the webdip player base.
I was thinking more - what if the WebDip adjudicator were ported to a friendlier language (or still used as is) but had API calls added, and then perhaps see if the site could natively use it.

Maybe a bit of a pipe dream, but it would be neat. Maybe I'll work on it as my next side project if I ever have time...

Re: Adjudicator via API

Posted: Mon Dec 16, 2019 11:28 pm
by orathaic
I think as you said, getting some kind of board state and just running it through the adjudicator would be interesting. Even if it started as a project on a separate server.

I think the adjudicator being exposed is less useful for future development, because the server only needs to adjudicate games which it already knows the state of (ie ones which are waiting to be adjudicated because their timer has run down).

A whole re-write of the code base seems like a lot of work. But you do you.