any free tablebase web service?

Code, algorithms, languages, construction...
Post Reply
pgn4web
Posts: 97
Joined: Mon Jun 14, 2010 10:26 pm

any free tablebase web service?

Post by pgn4web » Thu Sep 22, 2011 11:16 pm

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.

User avatar
Uly
Posts: 838
Joined: Thu Jun 10, 2010 5:33 am

Re: any free tablebase web service?

Post by Uly » Fri Sep 23, 2011 2:23 am


pgn4web
Posts: 97
Joined: Mon Jun 14, 2010 10:26 pm

Re: any free tablebase web service?

Post by pgn4web » Fri Sep 23, 2011 9:29 am

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.

tano-urayoan
Posts: 30
Joined: Sat Aug 21, 2010 5:36 pm
Real Name: Tano-Urayoan

Re: any free tablebase web service?

Post by tano-urayoan » Fri Sep 23, 2011 5:59 pm

The only sites I know offer tablebases online apart from the one Ulyses referred and the the chessok are shredder's and lokasoft.

pgn4web
Posts: 97
Joined: Mon Jun 14, 2010 10:26 pm

Re: any free tablebase web service?

Post by pgn4web » Fri Sep 23, 2011 6:06 pm

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 :-)

Post Reply