Go back
What happens when an engine plays itself?

What happens when an engine plays itself?

Only Chess

Vote Up
Vote Down

Inspired by the white vs. black thread that was recently revived, I began to wonder what the results look like when the same engine on a computer with the same specs are matched against each other?

I know that engines vary their openings, but once they get out of book do they play exactly the same way each time? What is the W/L/D record over a large number of games? What does this tell us about the nature of chess--is it a forced draw?

1 edit
Vote Up
Vote Down

Originally posted by droflace
Inspired by the white vs. black thread that was recently revived, I began to wonder what the results look like when the same engine on a computer with the same specs are matched against each other?

I know that engines vary their openings, but once they get out of book do they play exactly the same way each time? What is the W/L/D record over a large number of games? What does this tell us about the nature of chess--is it a forced draw?
When an engine plays itself it both wins and loses simultaneously or it scores two draws simultaneously.

Therefore %wins=%loses

This concept also works for people๐Ÿ˜›

Vote Up
Vote Down

Originally posted by KnightStalker47
When an engine plays itself it both wins and loses simultaneously or it scores two draws simultaneously.

Therefore %wins=%loses

This concept also works for people๐Ÿ˜›
ok, ok, smarty pants ๐Ÿ˜€

What is the win % for the white pieces?

Vote Up
Vote Down

Originally posted by droflace
ok, ok, smarty pants ๐Ÿ˜€

What is the win % for the white pieces?
%white win=%black lost

Vote Up
Vote Down

Originally posted by KnightStalker47
When an engine plays itself it both wins and loses simultaneously or it scores two draws simultaneously.

Therefore %wins=%loses

This concept also works for people๐Ÿ˜›
ok, ok, smarty pants ?๐Ÿ˜€

What is the draw % expressed as a constant nonsymbolic real number?

Vote Up
Vote Down

Originally posted by droflace
Inspired by the white vs. black thread that was recently revived, I began to wonder what the results look like when the same engine on a computer with the same specs are matched against each other?

I know that engines vary their openings, but once they get out of book do they play exactly the same way each time? What is the W/L/D record over a large number of games? What does this tell us about the nature of chess--is it a forced draw?
I dunno but try to google something like shredder vs. shredder or so.

In most cases it is a draw.

Vote Up
Vote Down

Not really a precise answer, but here are some links that might shed some light on what happens when an engine plays itself:

1) http://ssdf.bosjo.net/

2) Game 2651701

Vote Up
Vote Down

Originally posted by droflace
Inspired by the white vs. black thread that was recently revived, I began to wonder what the results look like when the same engine on a computer with the same specs are matched against each other?

I know that engines vary their openings, but once they get out of book do they play exactly the same way each time? What is the W/L/D record over a large number of games? What does this tell us about the nature of chess--is it a forced draw?
I don't have an exact answer for you, but I'm currently running an engine-engine tournament on my PC that's close to your scenario. I'm running two Toga engines in Arena, the only difference is that one engine has one setting changed. So they're not perfectly identical. Right now it's about 50 percent draws. Maybe in a few days I'll run the tourney with perfectly identical engines and let you know the result.

1 edit
Vote Up
Vote Down

Not exactly the same engine because two versions, but same opening with colors reversed. Both game played on same computer with all else the same for the two competitors. The Fritz software easily facilitates such matches, but the same engine cannot play itself except in shootout mode:

(1302) Fritz 5.32 (2560) - Fritz 7 [C42]
UCIvFritzquad S0026845731, P3 M 256 (3), 22.11.2004
1.e4 e5 2.Nf3 Nf6 3.Nxe5 Qe7 4.Nf3 Qxe4+ 5.Be2 Be7 6.d4 0–0 7.0–0 Qc6 8.Nc3 d5 9.Re1 Qb6 10.Bg5 Nbd7 11.Bb5 Bb4 12.Bd3 c6 13.Qd2 Bd6 14.Nh4 Qxb2 15.Rab1 Qa3 16.Rb3 Qa5 17.Nf5 Bb4 18.Bh6 Re8 19.Bxg7 Rxe1+ 20.Qxe1 Bf8 21.Bxf8 Nxf8 22.Ne7+ Kg7 23.Bf5 Bd7 24.Bxd7 N8xd7 25.Nf5+ Kg6 26.Nd6 h6 27.Qe2 Rb8 28.Qd3+ Kg7 29.Qe3 Kg6 30.a4 Qd8 31.Ne2 Qf8 32.Qd3+ Kg7 33.Ng3 Kh8 34.Ngf5 h5 35.Nh6 Kg7 36.Qd2 Kh7 37.Nhxf7 Ne4 38.Nxe4 dxe4 39.Qf4 h4 40.Rh3 Kg7 41.Rxh4 Nf6 42.Nh6 1–0

(1489) Fritz 7 (2701) - Fritz 5.32 [C42]
rating S0026845731, P3 M 256 (4), 02.12.2004
1.e4 e5 2.Nf3 Nf6 3.Nc3 Bb4 4.Nxe5 0–0 5.Nd3 Bxc3 6.dxc3 Nxe4 7.Be3 Re8 8.Nf4 Qh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bf3 Bg8 99.Rb8 Bf7 100.Kd2 Ke7 101.Kd3 Be6 102.Ke3 Bf7 103.Rh8 Be8 104.Bd1 Bf7 105.Rb8 Kf6 106.Rc8 Ke7 107.Rc7+ Kf6 108.Kf2 Bg8 109.Bc2 Bf7 110.Rxf7+ Kxf7 111.Bxf5 Kf6 112.Bd3 Ke7 113.Kf3 Kf6 114.Bf1 Ke7 115.Ke4 Kf6 116.Bh3 Ke7 117.Ke5 Rd8 118.Be6 Rd6 119.f5 Rd8 120.f6+ Ke8 121.Kf5 Rd6 122.Kg6 b5 123.Kg7 Kd8 124.f7 Rd7 125.Bxd7 Kxd7 126.axb5 a4 127.f8Q a3 128.d6 1–0

1 edit
Vote Up
Vote Down

This is all very intriguing. Particularly the game posted by DawgHaus (I am guessing they were both later banned for engine use?) where a pawn was left sitting on a two-move tactic which was then accepted by the other side...

1 edit
Vote Up
Vote Down

Originally posted by droflace
This is all very intriguing. Particularly the game posted by DawgHaus (I am guessing they were both later banned for engine use?) where a pawn was left sitting on a two-move tactic which was then accepted by the other side...
Yeah, I don't see how a 1249 could see a draw in that position, or how someone rated so much higher could accept such a draw. (I guess that was the point of the post.)

Vote Up
Vote Down

Originally posted by Mad Rook
Yeah, I don't see how a 1249 could see a draw in that position, or how someone rated so much higher could accept such a draw. (I guess that was the point of the post.)
The player that is now rated 1200 was actually rated over 2150 when that game took place.

2 edits
Vote Up
Vote Down

Originally posted by Fat mans revenge
The player that is now rated 1200 was actually rated over 2150 when that game took place.
Oh, OK, then I guess I don't get it. Maybe I'm just dense. ๐Ÿ™‚

Edit - Ah, just looked at the two rating charts. Makes sense now. The confusion was that at first I only searched for the names on the banned player list and didn't find either one.

Edit 2 - This is strange, I just searched the banned players list again, and this time I found both players' names. I don't know how I messed up the first search. I guess I need more coffee... ๐Ÿ˜ณ

2 edits
Vote Up
Vote Down

Originally posted by Wulebgr
Not exactly the same engine because two versions, but same opening with colors reversed. Both game played on same computer with all else the same for the two competitors. The Fritz software easily facilitates such matches, but the same engine cannot play itself except in shootout mode:

(1302) Fritz 5.32 (2560) - Fritz 7 [C42]
UCIvFritzquad S0026845731, P ...[text shortened]... e8 121.Kf5 Rd6 122.Kg6 b5 123.Kg7 Kd8 124.f7 Rd7 125.Bxd7 Kxd7 126.axb5 a4 127.f8Q a3 128.d6 1–0
even without analysing, about half of the moves in those games look pretty silly. they might be tactically sound, but nevertheless totally pointless. both engines are just moving pieces around, 'waiting' for something to randomly drop 1 half move beyond the opponent's horizon. especially the latter game is a good example of that.

can you get some modern engines to play as well, like rybka vs. hiarcs or something like that? it would be interesting to see if they play as ridiculously despite all hype for better strategic play.

Vote Up
Vote Down

Originally posted by wormwood
can you get some modern engines to play as well, like rybka vs. hiarcs or something like that? it would be interesting to see if they play as ridiculously despite all hype for better strategic play.
Test groups such as CCRL and CEGT test the latest engines and the games can be downloaded.

The latest Rybka is much stronger than Fritz 5.32. However, if this was based on tactical ability alone, the difference is much smaller. In fact, I wouldn’t be surprised if Fritz 5.32 is still slightly better in tactical tests. So, how do you categorise the factors that make Rybka stronger overall? Would you term it “positional ability”, “strategic ability” or what? It’s not tactical ability.