Page 1 of 1

any free tablebase web service?

Posted: Thu Sep 22, 2011 11:16 pm
by pgn4web
Hello,

is anyone aware of any free tablebase web service that I could use in an open source GPL project (an extension for google chrome)?

What I'm looking for is a service that I could query (with javascript from my extension) sending a probe request with a FEN string as a parameter and receiving back the tablebase lookup result (mate in X, draw, position not found, error) and (optionally) a PV.

There's something here http://www.lokasoft.nl/tbapi.aspx but it support 5 men an only very few 6 men set. Other services like the one at the shredder website only allow manually entering the FEN string.

Alternatively, is anyone (that already owns a good set of 6 men tablebase) interested in building such a web service?

Ideally, you'd accept a query like http://yoursite.com/tablebaseprobe?fen= ... 0-%200%201 where 8/7p/8/8/8/1B6/K6P/2k5%20w%20-%20-%200%201 is the URL encoding of a fen string "8/7p/8/8/8/1B6/K6P/2k5 w - - 0 1" and return an xml encoded response like these:

<tablebaseprobe status="ok" fen="8/7p/8/8/8/1B6/K6P/2k5 w - - 0 1" assessment="+M67" pv="whatever the PV is" /> for a successful query

<tablebaseprobe status="position not found" fen="8/7p/8/8/8/1B6/K6P/2k5 w - - 0 1" /> if the position is not found in the available tablebase

<tablebaseprobe status="error" fen="8/7p/8/8/8/1B6/K6P/2k5 w - - 0 1" /> for a general error

Thanks.

Re: any free tablebase web service?

Posted: Fri Sep 23, 2011 2:23 am
by Uly

Re: any free tablebase web service?

Posted: Fri Sep 23, 2011 9:29 am
by pgn4web
Not what I need.
Both this site and a similar one at chessok.com have a good set of 6 men tablebase, but they only offer a web browser interface for end users to browse to the page, enter the FEN manually and get the result. They do not offer an API for a web service so that I can get the tablebase info using a javascript program from my extension.

Re: any free tablebase web service?

Posted: Fri Sep 23, 2011 5:59 pm
by tano-urayoan
The only sites I know offer tablebases online apart from the one Ulyses referred and the the chessok are shredder's and lokasoft.

Re: any free tablebase web service?

Posted: Fri Sep 23, 2011 6:06 pm
by pgn4web
tano-urayoan wrote:The only sites I know offer tablebases online apart from the one Ulyses referred and the the chessok are shredder's and lokasoft.
then there is space for a new tablebase web service :-)