chessgames.com
Members · Prefs · Laboratory · Collections · Openings · Endgames · Sacrifices · History · Search Kibitzing · Kibitzer's Café · Chessforums · Tournament Index · Players · Kibitzing

Stockfish (Computer)
Stockfish 
 

Number of games in database: 380
Years covered: 2009 to 2024
Overall record: +53 -84 =243 (45.9%)*
   * Overall winning percentage = (wins+draws/2) / total games.

Repertoire Explorer
Most played openings
E15 Queen's Indian (25 games)
C67 Ruy Lopez (12 games)
E17 Queen's Indian (12 games)
A17 English (11 games)
C11 French (10 games)
C65 Ruy Lopez, Berlin Defense (8 games)
A10 English (7 games)
C02 French, Advance (7 games)
E16 Queen's Indian (7 games)
D16 Queen's Gambit Declined Slav (6 games)

RECENT GAMES:
   🏆 TCEC Season 26 - Balanced Lines Bonus
   LCZero vs Stockfish (Aug-01-24) 1-0
   AnMon vs Stockfish (Sep-22-21) 0-1, rapid
   Stockfish vs Houdini (Jun-18-21) 1-0, rapid
   LCZero vs Stockfish (Jun-27-20) 1-0
   Stockfish vs LCZero (Oct-29-19) 1-0

Search Sacrifice Explorer for Stockfish (Computer)
Search Google for Stockfish (Computer)

STOCKFISH (COMPUTER)
(born 2008) Norway

[what is this?]

Stockfish originated as a fork of Tord Romstad's Glaurung (Computer), improved by Marco Costalba, Romstad and Joona Kiiski. It is now developed by the Stockfish community, using Gary Linscott's Fishtest testing framework to test new code.

As of 2016, Stockfish is one of the two strongest chess engines in the world, with Komodo (Computer), and the strongest open-source engine. It won TCEC season 6 in 2014, defeating Komodo in the superfinal.

Stockfish runs on Linux, Windows or Mac OS X platforms, as well as mobile platforms such as the iPhone, iPad and iPod touch. Various installations have supported set-ups such as 8 Gbytes for a hashtable with an 8-core processor under its UCI protocol.

Official website: http://www.stockfishchess.com

SmallFish app for iPad/iPhone with iOS 8.0 or later: https://itunes.apple.com/us/app/sma...

SmallFish for iOS 6: https://itunes.apple.com/us/app/sma...

Stockfish 2.0.1, operated by User: kutztown46, played in the CG.com Masters - Machines Invitational (2011) as Kutztown46 / Stockfish.

https://www.chessprogramming.org/St...

Wikipedia article: Stockfish (chess)

Last updated: 2018-12-03 07:10:17

Try our new games table.

 page 1 of 16; games 1-25 of 380  PGN Download
Game  ResultMoves YearEvent/LocaleOpening
1. Stockfish vs Rybka 0-17820093rd WCRCCD14 Queen's Gambit Declined Slav, Exchange Variation
2. Stockfish vs Crafty  1-0742013nTCEC - Stage 1A10 English
3. Stockfish vs Rybka  1-0662013nTCEC - Stage 1B53 Sicilian
4. Stockfish vs Critter  ½-½672013nTCEC - Stage 2aA10 English
5. Critter vs Stockfish ½-½562013nTCEC - Stage 2aA10 English
6. Stockfish vs Rybka  0-1532013nTCEC - Stage 3B33 Sicilian
7. Stockfish vs Chiron  1-0522013nTCEC - Stage 3C12 French, McCutcheon
8. HIARCS vs Stockfish 0-1542013nTCEC - Stage 3A52 Budapest Gambit
9. Stockfish vs Rybka 1-0422013nTCEC - Stage 4B03 Alekhine's Defense
10. Houdini vs Stockfish  0-1872013nTCEC - Stage 4C18 French, Winawer
11. Rybka vs Stockfish  ½-½422013nTCEC - Stage 4B03 Alekhine's Defense
12. Stockfish vs Houdini  0-1762013nTCEC - Stage 4 - Season 1C70 Ruy Lopez
13. Stockfish vs Houdini  ½-½612013nTCEC - Superfinal - SeasonD45 Queen's Gambit Declined Semi-Slav
14. Houdini vs Stockfish  ½-½412013nTCEC - Superfinal - SeasonD45 Queen's Gambit Declined Semi-Slav
15. Houdini vs Stockfish ½-½692013nTCEC - Superfinal - SeasonE15 Queen's Indian
16. Stockfish vs Houdini ½-½872013nTCEC - Superfinal - SeasonE12 Queen's Indian
17. Houdini vs Stockfish 1-0532013nTCEC - Superfinal - SeasonD98 Grunfeld, Russian
18. Stockfish vs Houdini  ½-½562013nTCEC - Superfinal - Season 1D99 Grunfeld Defense, Smyslov
19. Houdini vs Stockfish  ½-½602013nTCEC - Superfinal - Season 1B04 Alekhine's Defense, Modern
20. Stockfish vs Houdini ½-½1092013nTCEC - Superfinal - Season 1B04 Alekhine's Defense, Modern
21. Houdini vs Stockfish  1-0672013nTCEC - Superfinal - SeasonE04 Catalan, Open, 5.Nf3
22. Stockfish vs Houdini  ½-½602013nTCEC - Superfinal - SeasonE04 Catalan, Open, 5.Nf3
23. Houdini vs Stockfish  ½-½802013nTCEC - Superfinal - SeasonC14 French, Classical
24. Stockfish vs Houdini ½-½592013nTCEC - Superfinal - SeasonC14 French, Classical
25. Houdini vs Stockfish 1-0792013nTCEC - Superfinal - SeasonA10 English
 page 1 of 16; games 1-25 of 380  PGN Download
  REFINE SEARCH:   White wins (1-0) | Black wins (0-1) | Draws (1/2-1/2) | Stockfish wins | Stockfish loses  

Kibitzer's Corner
< Earlier Kibitzing  · PAGE 5 OF 15 ·  Later Kibitzing>
Mar-19-16
Premium Chessgames Member
  AylerKupp: <tbentley> True, but that doesn't necessarily mean that the article refers to Stockfish 2.3.1. The statement is:

"Step 2. Check for aborted search and immediate draw. Enforce node limit here. (This only works with 1 search thread, as of Stockfish 2.3.1.)"

This <could> mean that checking for an aborted search and immediate draw was implemented in Stockfish 2.3.1 <and this implementation retained in later versions>. Although, frankly, I think that you are right. Still, I think that the article contains some interesting information, even though it might not be up to date.

Apr-19-16
Premium Chessgames Member
  Ron: Here is a position which Stockfish 7 mis-evaluates.


click for larger view

White to play. My Stockfish 7 gives +1.74 for White. However, Black can prevent White from making progress.

For what its worth, the position arose from a quick game, White was a combination of Stockfish moves and mine, Black was Stockfish moves:1. Nf3 Nf6 2. g3 d5 3. Bg2 c5 4. O‑O Nc6 5. d4 cxd4 6. Nxd4 e5 7. Nxc6 bxc6 8. c4 Rb8 9. b3 Bb7 10. e3 Bd6 11. Nc3 O‑O 12. cxd5 cxd5 13. Nxd5 Nxd5 14. Bxd5 Ba6 15. Bc4 Bxc4 16. bxc4 Qb6 17. Bb2 Rfd8 18. Bc3 Qa6 19. Qe2 Rdc8 20. Rfd1 Rb6 21. a4 f6 22. a5 Rbc6 23. Ra4 Bf8 24. Qa2 R6c7 25. c5+ Kh8 26. Rc4 Rxc5 27. Rxc5 Bxc5 28. Be1 h6 29. Qf7 Bf8 30. Qd7 Rb8 31. Kg2 Ba3 32. h4 Kh7 33. h5 Kg8 34. Ra1 Bd6 35. Qe6+ Kh7 36. Rd1 Qb7+ 37. Qd5 Ba3 38. Qxb7 Rxb7 39. Kf3 Kg8 40. Ke4 Bc5 41. Rc1 Rb5 42. Kf5 Kh7 43. g4 Ba3 44. Rd1 Rb2 45. Rd7 Rb1 46. Bc3 Rc1 47. Bd2 Rd1 48. Ke6 Bc5 49. Rd5 Ba3 50. e4 a6 51. Kd7 Rg1 52. Kc7 Rxg4 53. Kb7 Rxe4 54. Kxa6 Bb2 55. Kb7 Bd4 56. a6 Bxf2 57. Ba5 Ra4 58. Bb6 Bxb6 59. Kxb6 e4 60. a7 e3 61. Rd8 e2 62. Re8 Rb4+ 63. Ka5 Rb2 64. Rh8+ Kxh8 65. a8=Q+ Kh7 66. Qe4+ Kg8 67. Qe6+ Kh7 68. Ka4 Kh8 69. Ka3 Rb5 70. Qe8+ Kh7 71. Qxe2 Rg5

Apr-19-16
Premium Chessgames Member
  Sally Simpson: Hi Ron,

Unless their tablebase kicks in computers still have trouble recognising a fortress. How does it evaluate this position.


click for larger view

It's draw with either side to move. Black just keep playing Rh6 - Rf6. Any White checks get nowhere.

Apr-20-16  AlicesKnight: Absolutely right <Sally Simpson> - but the humans don't let go easily either (So-Caruana, 2016 US Championship - the bishop in the double corner is a dead draw....), so perhaps the silicon is more human than we give it credit for. To borrow from Hugh Alexander; is Stockfish a pipe-smoker?
Apr-20-16  Transformer: Although it may be somewhat dated now, this forum is dedicated to positions that chess engines cannot evaluate properly:

User: zanshin

May-03-16  Appaz: TCEC has just started season 9: http://tcec.chessdom.com/live.php

Rybka is back!

May-03-16
Premium Chessgames Member
  offramp: Thanks, <Appaz>!
May-03-16  morfishine: Go Rybka!...however you pronounce that
May-29-16
Premium Chessgames Member
  Ron: Stockfish 7 evaluates this position as +.61 for White. While there are some positions where King+Rook+Knight can win against King+Rook, I don't think this is one of them.


click for larger view

This position arose from:
1. e4 e5 2. Nf3 Nf6 3. d4 exd4 4. e5 Ne4 5. Qxd4 d5 6. exd6 Nxd6 7. Nc3 Nc6 8. Qa4 Be7 9. Ne5 O‑O 10. Nxc6 bxc6 11. Bd3 c5 12. O‑O c4 13. Be2 Bd7 14. Qa5 Rb8 15. Qxa7 Bf5 16. a4 Re8 17. Nd5 Bh4 18. Bf3 Bxc2 19. Qxc7 Ne4 20. Qxd8 Rexd8 21. Ne3 Bd3 22. Bxe4 Bxe4 23. Re1 c3 24. bxc3 Bf6 25. Nd1 Rb1 26. Rxb1 Bxb1 27. Ne3 Ba2 28. Bb2 Ra8 29. c4 Bxb2 30. Re2 Rb8 31. Nd1 Rd8 32. Nxb2 Bxc4 33. Re1 Ba6 34. Rd1 Rc8 35. f3 Kf8 36. Nd3 Rd8 37. Nf2 Rc8 38. h4 Rc4 39. a5 Ra4 40. Rd5 h6 41. Rc5 Ra1+ 42. Kh2 Bf1 43. Ng4 Ra3 44. Kg1 Ba6 45. Ne5 Ra1+ 46. Kf2 Ra2+ 47. Kg3 Bf1 48. Rc1 Rxa5 49. Nxf7 Bxg2 50. Nd8 Bxf3 51. Kxf3 Ra3+ 52. Kg4 Ra4+ 53. Kh5 Ke7 54. Nb7 g6+ 55. Kxh6 Rxh4+ 56. Kxg6 Ke6

Jun-14-16
Premium Chessgames Member
  Penguincw: Congrats to Stockfish 210516 for winning the TCEC, Season 9, Stage 1b section of the tournament.

It entered the stage as the top seed, rated 3221, and won outright with 12/15 (+9,-0,=6).

Stockfish 110616 will be used for Stage 2 of the competition, where at 3222, it is now the 2nd seed, behind Komodo 10 (3228).

http://tcec.chessdom.com/archive.php

http://tcec.chessdom.com/live.php

Jul-09-16  SChesshevsky: Computer chess is fascinating though I have a question.

There's a video "Komodo and Stockfish analyze" at:

http://en.chessbase.com/post/john-h...

It appears at around 2:02 on the video, Stockfish analyzing for move 26.... "likes" 26...Nc2 27. Rxe8 Rxe8 etc. giving it an evaluation of (.34).

But then, after the video author does an alternative look, the move 26...Nc2 is played in the game being analyzed (at 2:15 or so on the video) but Stockfish analysis now thinks the evaluation is closer to (1.00) which I'm assuming means much better for white.

It appeared that Stockfish had a decent amount of think time for 26...Nc2, so my question is why would Stockfish, or any computer, apparently see a move with roughly equal evaluation and then have that evaluation change so drastically when the move is actually played?

Thanks for any help understanding this!

Jul-09-16
Premium Chessgames Member
  beatgiant: <SChesshevsky>
To simplify the discussion, let's suppose the computer algorithm looks 5 moves ahead, i.e. 5 black moves and 5 white moves. (The truth is more complicated, but basically there are limits on how far ahead it looks.)

Then on Black's turn on move 26, it will analyze until Black's turn on move 31 and evaluate those positions. After Black actually makes move 26, it is now starting from that position and looks until White's turn on move 32. That's a different set of positions, so they can have different evaluations.

This is known as the "horizon effect" where it doesn't see things beyond its lookahead horizon. https://en.wikipedia.org/wiki/Horiz...

Jul-09-16
Premium Chessgames Member
  AylerKupp: <beatgiant> I have read about two different versions of the horizon effect:

1. The engine is looking N plies ahead and sees the forced loss of its queen. So it begins sacrificing pawns and pieces in order to push the loss of the queen to a depth of N+1 so at each ply evaluates the resulting position less to its disadvantage than after the loss of its queen. Eventually, of course, it runs out of pawns and pieces and has to lose its queen anyway. I believe that this was the original version of the horizon effect and it sure looks to a casual observer as though it short circuited.

2. The engine is looking N plies ahead and is therefore completely oblivious of what happens after ply N+1. The most extreme example I ever say (which, alas, I did not save) was when the engine evaluated the position as slightly in White's favor even though on the next move Black had a mate in one. To address this 2nd definition I coined "Ayler AylerKupp's Corollary to Murphy's Law" (AKC2ML) which can be expressed as "If you use your engine to analyze a position to a search depth=N, your opponent's killer move (the move that will refute your entire analysis) will be found at search depth=N+1, regardless of the value you choose for N."

Here is another example. I had Komodo 9.2 ((the strongest chess engine at the time) do an analysis of the following position:


click for larger view

Komodo produced the following evaluation of its 3rd best line: [+0.16], d=30: 27...Ra7 28.Be1 Qd7 29.Qd3 Rg7 30.Kh1 Kh8 31.Bf1 Ne8 32.Ne2 Qc8 33.Qb3 Bh4 34.Bc3 gxf3 35.gxf3 Bf2 36.a6 Rxa6 37.Rxb7 Rxb7 38.Qxb7 Qxb7 39.Rxb7 Ra8 40.Bh3 Nh4 41.Nxf4 Bd4 42.Ne2 Bxc3 43.Nxc3 Nxf3 44.Bf5 Nf6 45.Nb5 and it reached the following position:


click for larger view

But due to the 2nd version of the horizon effect after Komodo played 45.Nb5 it has no idea of the potential of Black's position. And here Black has a forced mate in 5 after 45...Ra2 (a quiet move so a quiescent search extension was not likely to be used) 46.Rb8+ Kg7 47.Rb7+ Kh6 48.Rh7+ (horizon effect version 1 at work) 48...Nxh7 49.Bxh7 Rxh2#


click for larger view

The 2nd version of the horizon effect can also be somewhat subtle. An engine might evaluate a position at, say, {+1.50] at d=40 and you would think that White has a definite advantage. But the engine's evaluation of the line is based on the evaluation of the position following the <last> move in its search tree using the minimax algorithm. And, while the initial moves for each side have the benefit of a search of many moves and therefore you can have reasonable confidence in their evaluations, the last few moves only have the benefit of a search of a few moves and therefore they are particularly susceptible to AKC2ML. So it's essential to check each engines long lines for reasonableness and use forward sliding to preclude the effect of AKC2ML.

Jul-09-16  SChesshevsky: Thanks for the info.

So given its the horizon effect, it appears that if Stockfish looked out one more move, it's initial 26...Nc2's OK as pretty equal would have turned to 26...Nc2 is bad and should not be considered.

Seems strange though that given the position, Black appears to only have a few decent initial moves. Can a computer compensate with a longer horizon with fewer good initial move options? For instance, with three initial good move options look out 50 moves but with six initial good move options or more stick with the standard 30 or whatever move horizon?

This kind of calculation error, and I'm even assuming it's a rare event, would seem to make any given computer suggested move obviously less credible.

It also might support a feeling I've had that a computers advantage over humans is just about all mechanical via brute force processing.

This might indicate that a match between a top GM on his game and a top computer with a 30 min clock for the GM and a 1 minute clock for the computer (or maybe a 60 vs. 2 even) could be very close since the computers horizon would likely need to be pared significantly.

It would also seem relatively fair as a 30 to 1 advantage on time should be viewed as minor given the computers huge mechanical processing advantage.

Has any one heard of any computer-human time odds matches like that?

Jul-10-16
Premium Chessgames Member
  AylerKupp: There has been a tradeoff in chess between search depth and aggressive search tree pruning. The more aggressively an engine prunes its search tree the deeper it can search in the same amount of time (in general) but the greater the likelihood that good moves will be missed. For a long time Stockfish has been the example of deep search/aggressive search tree pruning and Rybka was the example of (relatively) shallow search/conservative search tree pruning, a banner that seems to have recently been taken up by Komodo. The strength evenness of the two engines suggest that, given current technology, the two approaches are reasonable and of roughly equal merit.

Interestingly, the latest Stockfish 7 version seems to prune its search tree less aggressively (and hence does not search as deeply) and the latest Komodo 10, like Hiarcs before it, provides the means for the user to tailor their search tree pruning aggressiveness. So both engines seem to be heading towards each other's approach in an attempt to find the best balance between the two.

I've never heard of computer-human time odds matches but in the past I have suggested that time handicapping might be a better approach to attempt to equalize the playing strength between chess engines and humans. Certainly more flexible than giving pawn, piece, and/or move odds as is currently being done since the time handicap can have a higher resolution. And after all, if the computer's main advantage is its ability to perform more calculations than humans, then it seems reasonable to attempt to equalize their playing abilities by reducing the computer's main advantage.

The issue then, of course, is how much of a time handicap should the human be given? I have also suggested that an approach to determine this might be to first play a series of engine vs. engine matches between the top 5 engines and 5 engines rated 500 points below them, initially giving the lower rated engines twice the time as the stronger engines and adjusting the time handicap up or down until the winning percentage of the lower rated engines is approximately the same as the winning percentage of the higher rated engines. Then that time handicap would be a good place to start, and it would not take any human's time other than managing the matches.

I suggested a 500 point differential because, although their ratings cannot be directly compared because they play a different set of opponents, that's approximately the difference between the currently highest rated engine, Komodo 10 (currently rated by CCRL at 3362) and the currently highest rated human, Magnus Carlsen (currently rated by FIDE at 2855). If the time differential determined by the engine vs. engine time handicapped matches provides lopsided results, then it can again be adjusted up or down until the winning percentage of the engines is approximately the same of the winning percentage of the humans. You would also have to somehow account for hardware advances since the proficiency of the engines will likely increase faster when running in more powerful hardware than the proficiently of the humans. But, again, a place to start.

Jul-10-16  SChesshevsky: Thank you Ayler... It sounds by your explanation that chess understanding is a major key to successfully pruning a search tree. Or by a greater understanding of the position, the easier coming up with the most effective candidate moves with the computer able to spend more time on those moves rather than a wider range of initial moves.

That might imply that the Stockfish program, if it relies on a wider range of initial moves to the detriment of depth, is more at risk in shorter time controls.

If that's the case and if Stockfish was to get challenged to a 30 min vs. 1 min human-computer match, how difficult might it be for the Stockfish team to improve its position assessment and thus more aggressively prune? Is the position based algorithms so part of the programs DNA that major changes are difficult?

I also saw a 1 minute online bullet match on YouTube between Georg Meier, who I'm guessing is a top 25 GM, and Deep Fritz 14, whose strength I don't know. It seemed Fritz did not have a significant advantage at 1 min and possibly a disadvantage had Meier had much more time. Maybe more evidence that a time odds match may be surprisingly hard on the machines.

Jul-10-16
Premium Chessgames Member
  AylerKupp: <SChessevsky> Actually, search tree pruning probably requires very little, if any, chess understanding. Search trees are used in other game programs besides chess, and the techniques for pruning the search tree are typically applicable to games other than chess. But probably there are some search tree pruning techniques that are unique to chess.

I would personally categorize search tree pruning techniques into algorithms and heuristics. Algorithms, of which the best known is alpha-beta pruning, reduce the number of branches of the search tree that need to be searched in a way that it can be proven, or at least shown, that a search of the pruned tree is exactly equivalent to a search of the unpruned tree, at least as far as having the minimax algorithm provide the same result.

Heuristics are educated guesses; strategies that in general seem to reduce the amount of searching needed to determine the best move to be played in the minimax sense, but there is no guarantee that the search of the pruned tree will produce the same result as the search of the unpruned tree. The better heuristics will, of course, result in a near equivalence of the two (otherwise they wouldn't be used), but it is possible that a branch of the search tree containing the best move could be pruned.

I think that search tree pruning is the area where the most progress has been made in the last 10 years or so, and are the main reason why current engines can reach much greater search depths than 10-year old engines. There have certainly been increases in hardware capability by increased clock speeds, multiple cores, and multiple systems but given that the number of possible moves increases exponentially with increased depth these hardware improvements would have provided only a small portion of the increased search depth capability.

You can get an idea of the extent of search tree pruning techniques by searching the web. I'll warn you, it's demoralizing; there are so many of them and many are so complex that I don't have any hope of understanding them.

Aug-03-16
Premium Chessgames Member
  Penguincw: Stockfish 110616 at the TCEC, Season 9, Stage 2 section of the tournament, scores 22.5/30, tied with Komodo 10 for first place, but got edged out on tiebreaks, 320.25-314.00.

Still, Stockfish earns the right to progress in the tournament, and also remains the TCEC all-time leading scorer, with 442.5 points in 739 games played.

Stockfish also gains 2 rating points for its efforts...

http://tcec.chessdom.com/archive.php

Aug-03-16  todicav23: People say that the latest dev version is almost 50 elo point stronger than Stockfish 7. Does anyone know if that's really true?

Komodo is leading stage three and I still think it is favorite.

Aug-03-16
Premium Chessgames Member
  AylerKupp: <<todicav23> People say that the latest dev version is almost 50 elo point stronger than Stockfish 7. Does anyone know if that's really true?>

I don't know who "people" are, but estimates of how much stronger one engine version is than another engine version is usually determined by the head-to-head results of those 2 engines during development of the newer version. These head-to-head games are typically played at very fast time controls in order to be able to play lots of games in a relatively short period of time to be able to get statistically significant results.

I personally prefer to wait until the latest version of an engine is released and entered into engine vs. engine tournaments such as http://www.computerchess.org.uk/ccr... and http://www.husvankempen.de/nunn/. Then you can see the ratings achieved by the latest version of the engine with the ratings achieved by the previous version of the engine. And I have found that early ratings comparisons achieved during development tend to be optimistic.

The reasons are many, but a possibility is that the newer version of the engine is particularly adept at competing against earlier versions of the engine, but that advantage might not show up in games against other engines. That's why both CCRL and CEGT publish "pure" lists which try to detect such situations. And neither site rates or ranks development versions.

A recent example was Komodo 9.3 released earlier this year. I think that it was a rush job in an attempt to wrest the #1 ranking back from Stockfish 7, which was rated 1 or 2 Elo point higher than Komodo 9.2, even though the difference is not significant. But it was a marketing decision. It was claimed by the Komodo development team to be several Elo rating points better than Komodo 9.3 but both CCRL and CEGT rated and ranked it lower than Komodo 9.2. Since Komodo is a commercial engine, I wasn't about to pay for a newer version that in practice was slightly weaker by 10 Elo points or so that the engine I already have. It wasn't until Komodo 9.42 was released that there was a version of Komodo rated and ranked higher than Stockfish 7.

But there are those that always want to have the latest version of any engine and, in fairness, the newer version may have an advantage is certain specific types or positions and/or it may be a little bit more robust. But I am looking for a version that is stronger overall than other versions, so I wait to see published results of head-to-head competitions with the newer version against other engines before I make an upgrade/no upgrade decision.

Aug-08-16  zanzibar: Suppose I have a steering program which knows very little about chess, which instead relies mostly on an engine it runs for evals.

Further suppose that it wants to know certain things from an engine that are not necessarily standard.

For example, can one ask an engine to report back a FEN?

Also, and more importantly, can the engine be asked to determine if a position is a mate or a stalemate?

Note the latter question seems fairly natural and should be quite easy - but the UCI protocol seems to make this rather tricky.

E.g. one can't rely on the <go> output to reach a given depth, or to even output any INFO about such positions (e.g. Stockfish gives one INFO message, Critter gives none).

I suppose one could do a <go/stop> and check the <bestmove> reply for a non-move. Note that Critter and Stockfish give different replies, I haven't checked other engines yet.

Aug-09-16  scholes: <AylerKupp> <Todicav> Because of this
http://tests.stockfishchess.org/tes...

Regression test between SF dev and SF7 finished +50 elo. Its self test though. Ratings against other programs might be higher or lower

Aug-09-16  zanzibar: One can use <pgn-extract> to filter games ending in checkmate, or stalemate.

The problem for a steering program, is that once give <pgn-extract> a game, how do you know what you've got?

If it gets filtered out, you'll block reading the output pipe.

I used the kludge hinted at in the previous post.

Aug-10-16
Premium Chessgames Member
  Ron: I put into my Stockfish 7 the position after Black's 30th move in this celebrated game: Short vs Timman, 1991

Stockfish 7's choice is 31. Qf4, with an eval over 1.20 for White. It did not come up with Kh2.

Then I played Short's move 31. Kh2, and Stockfish 7 responds with 31... Bc8, with an eval over 18.00 for White. After 31. Kh2 Bc8, White then can play 32. Ng5 with a winning line coming.

Aug-11-16  WorstPlayerEver: @Ron

Rybka3 did find 31. Kh2 years ago (page 5 of S vs T: RandomVisitor).

Jump to page #   (enter # from 1 to 15)
search thread:   
< Earlier Kibitzing  · PAGE 5 OF 15 ·  Later Kibitzing>

NOTE: Create an account today to post replies and access other powerful features which are available only to registered users. Becoming a member is free, anonymous, and takes less than 1 minute! If you already have a username, then simply login login under your username now to join the discussion.

Please observe our posting guidelines:

  1. No obscene, racist, sexist, or profane language.
  2. No spamming, advertising, duplicate, or gibberish posts.
  3. No vitriolic or systematic personal attacks against other members.
  4. Nothing in violation of United States law.
  5. No cyberstalking or malicious posting of negative or private information (doxing/doxxing) of members.
  6. No trolling.
  7. The use of "sock puppet" accounts to circumvent disciplinary action taken by moderators, create a false impression of consensus or support, or stage conversations, is prohibited.
  8. Do not degrade Chessgames or any of it's staff/volunteers.

Please try to maintain a semblance of civility at all times.

Blow the Whistle

See something that violates our rules? Blow the whistle and inform a moderator.


NOTE: Please keep all discussion on-topic. This forum is for this specific player only. To discuss chess or this site in general, visit the Kibitzer's Café.

Messages posted by Chessgames members do not necessarily represent the views of Chessgames.com, its employees, or sponsors.
All moderator actions taken are ultimately at the sole discretion of the administration.

Spot an error? Please suggest your correction and help us eliminate database mistakes!
Home | About | Login | Logout | F.A.Q. | Profile | Preferences | Premium Membership | Kibitzer's Café | Biographer's Bistro | New Kibitzing | Chessforums | Tournament Index | Player Directory | Notable Games | World Chess Championships | Opening Explorer | Guess the Move | Game Collections | ChessBookie Game | Chessgames Challenge | Store | Privacy Notice | Contact Us

Copyright 2001-2025, Chessgames Services LLC