lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
14.92k stars 2.21k forks source link

Stockfish #745

Closed ghost closed 9 years ago

ghost commented 9 years ago

Is it possible to add stockfish as an AI? Because there are already many implementations of stockfish in JS

dejlek commented 9 years ago

You can always implement a RESTful interface to Stockfish. Can't you? Once you have that (and it probably exists already in some form), it should be easy to integrate it with your web front-end.

ghost commented 9 years ago

Well, I was talking about the lichess.org website. I know I can make my own version which adds support of Stockfish, but right now I'm too busy doing other projects.

flugsio commented 9 years ago

lichess.org already uses stockfish as the AI, old blog post here http://en.lichess.org/blog/U4mtoEQAAEEAgZRL/strongest-chess-player-ever

maybe duplicate of #588 with more info http://en.lichess.org/qa/4/why-not-distribute-the-artificial-intelligence

ghost commented 8 years ago

Oh, I didn't know it already used stockfish, I guess I should go play some chess then haha :) But the link you sent says Stockfish 5, not 6. I guess that's why the highest level of Stockfish that I can play on lichess is 2400 ELO, while the latest stockfish has 3000+ ELO

ghost commented 8 years ago

Lichess actually uses this https://github.com/ddugovic/Stockfish/ -- strictly speaking it's neither Stockfish 5 nor 6.

As for the rating (note we use Glicko-2, not Elo), that depends on the depth you give per ply, thinking time, and skill level. Thinking time is key here, and we don't give a lot on lichess for performance reasons.

However, it's still good enough to play like a master, which is far above the skill of most players on the site who try to learn from playing the engine. If you want it to play at full strength, download it and give it a couple of minutes for each move (your hardware is probably not as high spec as the dedicated server afterall). It's free anyway.