Hello,
is it possible to move the adjudicator to an external API?
Adjudicator via API
-
- Lifetime Site Contributor
- Posts: 1099
- Joined: Fri Sep 29, 2017 4:20 pm
- Contact:
- Chaqa
- Bronze Donator
- Posts: 14306
- Joined: Fri Sep 29, 2017 7:33 pm
- Location: Allentown, PA, USA
- Contact:
Re: Adjudicator via API
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
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.
- Chaqa
- Bronze Donator
- Posts: 14306
- Joined: Fri Sep 29, 2017 7:33 pm
- Location: Allentown, PA, USA
- Contact:
Re: Adjudicator via API
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
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.
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.
Who is online
Users browsing this forum: No registered users