tag:blogger.com,1999:blog-41932970346810662592024-03-19T05:20:36.777+01:00Mediocre ChessFollow the process of creating a chess engineJonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.comBlogger298125tag:blogger.com,1999:blog-4193297034681066259.post-26960204999902189332019-03-13T14:43:00.001+01:002019-03-13T14:45:25.792+01:00[Info] Still aroundSo fiveish years later, I'm still around and still answering questions from time to time. I've updated the contact email to one that I actually use, so feel free to get in touch.<br />
<br />
Lately I've started working on a new engine. The main and basically only difference is that it's using bitboards (still Java though). It has one simple goal, to be stronger than Mediocre (shouldn't be too hard right?).<br />
<br />
I'll let you know when it's ready to let loose on the world.Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com6tag:blogger.com,1999:blog-4193297034681066259.post-20441900536325199822013-12-17T15:04:00.000+01:002013-12-17T15:05:02.072+01:00[Info] Mediocre in ChessGUISince Jim Ablett closed down his site there've been quite a few mails from people unable to run Mediocre. Again, I'm not planning on doing executables of Mediocre, it's a Java engine.<br />
<br />
But here is a repost of a comment just posted by Norbert Leisner regarding running Mediocre in ChessGUI:<br />
<blockquote class="tr_bq">
<span style="background-color: white; color: #202020; font-family: arial, sans-serif; font-size: 13px; line-height: 18px;">Mediocre Chess Java from http://sourceforge.net/projects/mediocrechess/files/mediocrechess/</span><br />
<br style="background-color: white; color: #202020; font-family: arial, sans-serif; font-size: 13px; line-height: 18px;" />
<span style="background-color: white; color: #202020; font-family: arial, sans-serif; font-size: 13px; line-height: 18px;">can be easily embedded into ChessGUI / BigLion-Interface</span><br />
<span style="background-color: white; color: #202020; font-family: arial, sans-serif; font-size: 13px; line-height: 18px;">http://biglion.bplaced.net/</span><br />
<br style="background-color: white; color: #202020; font-family: arial, sans-serif; font-size: 13px; line-height: 18px;" />
<span style="background-color: white; color: #202020; font-family: arial, sans-serif; font-size: 13px; line-height: 18px;">Engines/Install Engine > select UCI1 + Java > and under "browse for engine file"= location where executable .jar file (660 KB) exists after extraction of .zip-folder - confirm the entry with "save engine option"</span><br />
<br style="background-color: white; color: #202020; font-family: arial, sans-serif; font-size: 13px; line-height: 18px;" />
<span style="background-color: white; color: #202020; font-family: arial, sans-serif; font-size: 13px; line-height: 18px;">No extra batch-file is required, but the menu item UCI 1 + Java must be clicked simultaneously to recognize the .jar-file!</span></blockquote>
There are also plenty more GUIs out there that can handle Java. It's both a bit sad and surprising that some of the major ones still doesn't...Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com16tag:blogger.com,1999:blog-4193297034681066259.post-87984537127665602962013-09-06T15:40:00.001+02:002013-09-06T15:42:26.601+02:00[Info] Jim Ablett's page is goneSadly Jim Ablett has decided to stop his excellent work with compiling various chess engines. This of course includes Mediocre.<br />
<br />
I've never spent much time generating native exceutables of Mediocre and I'm quite sure I won't start now. Mediocre is a Java engine after all, and should probably be run as a Java application.
I'm quite aware of the limitations on some UIs (like Chessbase, atleast in the past), but I still see it as a limitation on their side and not mine.<br />
<br />
Feel free to ask if you need help getting Mediocre to run as a Java application in whatever UI you use, I'm still around and answering questions. :)Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com4tag:blogger.com,1999:blog-4193297034681066259.post-36823619154043142122012-07-31T12:23:00.001+02:002012-07-31T12:23:43.232+02:00[Info] Corrupted performance.bin<p>
The previous release included a corrupted performance.bin file. Meaning Mediocre loaded the opening book but didn't play any moves from it.
</p>
<p>
The reason it was corrupted was me adding it to the filtered resources in my build process. Filters replaces certain strings, e.g. ${version} with a real value (I have a couple of them in my readme.txt for example).
</p>
<p>
But when you try to filter a binary file, all sorts of weird things happens to it. I.e. not good. :)
</p>
<p>
I've fixed this and uploaded it to sourceforge (same name and link). So if you haven't downloaded the new version yet, you won't have to do anything.
</p>
<p>
However if you did download it already, either re-download from the same link, or replace performance.bin with a fresh copy.
</p>
<p>
The perfomance.bin file can be downloaded separately <a href="http://wbec-ridderkerk.nl/html/download.htm">here</a>.
</p>Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com6tag:blogger.com,1999:blog-4193297034681066259.post-80946873868683628742012-07-30T19:51:00.001+02:002012-07-30T19:51:46.939+02:00[New Version] v0.5 - Futility pruning, revamped evaluation<span style="font-weight:bold;">Changes:<span style="font-style:italic;"></span></span><ul><li>Futility pruning working, should give a noticeable strength increase</li><li>Added tapered eval and some significant changes to evaluation, shouldn't matter to much in terms of strength or style though</li><li>Major background changes in the build process and so on (now using Maven)</li><br /></ul>Note: Should be noticable stronger than v0.4, mainly due to futility pruning which is finally working. The revamped evaluation might add some style or strength differences, but nothing to get excited about. Next version I will concentrate on evaluation only, and hopefully get something nice out of it.<br /><br /><a href="http://sourceforge.net/projects/mediocrechess/files/mediocrechess/mediocre_v0.5/mediocre_v0.5.zip/download">Download here</a>Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com3tag:blogger.com,1999:blog-4193297034681066259.post-68931409800370798572012-07-30T19:38:00.000+02:002012-07-30T19:39:33.490+02:00[Info] Found it!<p>
To recap my last post, I found a mystery version of Mediocre called v0.5beta that I'd left undocumented last December.
</p>
<p>
No sources or clues as to why it was beating v0.4 by a good margin.
</p>
<p>
After a couple hours of manual digging in the class-files I gave up. But having a terrible cold today I decided to give it another go (what else would you do half-consious in bed than read decompiled java programs? :).
</p>
<p>
Since the decompiled versions are slightly different on almost every row I tried to rule out parts of the code by testing. Evaluation seemed to be exactly the same as what was left in source (my experimental changes to evaluation).
</p>
<p>
But the search was still returning a different tree. Having been almost certain the evaluation was the culprit I turned to the search instead.
</p>
<p>
So taking Matthew's advice from my previous post I took a look at all the lines touching futility pruning, and I found a difference. It was indeed futility being turned off (I had missed a third boolean).
</p>
<p>
However, this version was still being crushed by both v0.4 and v0.5beta. So I looked through Engine.java line by line, and found another "slight" difference, I had completely turned off LMR.
</p>
<p>
The second I saw it I remembered I did it to get better lines for the University project I was doing around that time...
</p>
<p>
Lesson to be learned: If you're going to ruin your code, commit your changes first. :)
</p>Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com2tag:blogger.com,1999:blog-4193297034681066259.post-34335986656490823112012-07-26T16:14:00.000+02:002012-07-26T16:15:02.998+02:00[Info] One of those versions again<p>I've been working on getting a decent build/release procedure in place and it's coming along nicely. The readme and bat-file and resources and anything you can think of really is now being updated automatically.</p>
<p>Very very convenient.</p>
<p>But when looking in the development directory on my old harddrive I found a version of Mediocre called v0.5beta from December 7 2011. This version is actually crushing v0.4 (or maybe not crushing, but a good 70-80 elo stronger).</p>
<p>Now, the problem is I have no idea what this version contains. I know it uses my new evaluation but any setup I try with that doesn't come close in strength.</p>
<p>I've tried to look at the class-files (with a decompiler) but it's really hard to follow as the decompiler isn't perfect and I can't follow the code line by line.</p>
<p>I refuse to start working on anything before I figure out how I made this version. :) Hopefully I'll figure it out soon.</p>Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com2tag:blogger.com,1999:blog-4193297034681066259.post-32253596436028355292012-07-26T16:06:00.000+02:002012-07-26T16:07:39.494+02:00[Tournament] WBEC-Ridderkerk division 5 resultsSo the division 5 finals of WBEC-Ridderk finished. Top 7 qualified for division 4, and Mediocre placed in... 7th place. :)
<pre></pre>
<pre><b> 1: DiscoCheck 3.61-x64 29.5 / 36
2: iCE 0.2-b1092 26.5 / 36
3: Atlas 3.20-x64 25.5 / 36
4: Ifrit m1.8-x64-JA 25.0 / 36
5: Bearded Neural 44.5-x64 24.5 / 36
6: TJchess 1.1-x64 23.5 / 36
7: Mediocre 0.4-JA 22.0 / 36
8: Sjakk 1.1.9 21.5 / 36
9: EveAnn 1.67-b11 20.5 / 36
10: Ayito 0.2.994 17.5 / 36</b></pre>
<pre><b>...</b></pre>
<pre></pre>
Really sad that Leo decided to stop running his tournaments after this edition, but one of my longterm goals have been to get Mediocre up to the fourth division and I guess it happened on the last try. :)Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com1tag:blogger.com,1999:blog-4193297034681066259.post-42498585289981843792012-07-15T14:01:00.002+02:002012-07-15T14:01:38.041+02:00[Tournament] WBEC-RidderkerkMediocre 4.0 is playing in the fifth division final in WBEC-Ridderkerk, qualifying for the fourth division. Top seven engines qualify and Mediocre is currently in.. seventh place (having played a couple games fewer that the engines in front though).<div>
<br /></div>
<div>
So fingers crossed, fourth division would be quite neat.</div>
<div>
<br /></div>
<div>
<a href="http://wbec-ridderkerk.nl/html/5thdiv.htm">http://wbec-ridderkerk.nl/html/5thdiv.htm</a>
</div>
Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com3tag:blogger.com,1999:blog-4193297034681066259.post-55307259005998491462012-07-15T13:56:00.000+02:002012-07-15T13:57:28.874+02:00[Plan] Back at it<span style="background-color: white;">So new job, new town (Stockholm), new apartment, new ideas.</span><br />
<br />
This time around I'm going to try creating a proper build procedure, running JUnit tests, keeping track of versions and spitting out a fully functional Mediocre in the end.<br />
<br />
I've always wanted to do this, but never really found the inspiration to do it right. Especially JUnit tests have been missing. I did a very crude test-class that runs some basics, but it's not automated at all and quite cumbersome.<br />
<br />
Also, I got some input from a reader (or whatever I should call it), Zong Li, which I will try out and see if I can improve performance slightly.<br />
<br />
And lastly, I'll turn that futility pruning on again. :)<br />
<br />
So look forward to some progress again, we'll see where it ends up.Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com1tag:blogger.com,1999:blog-4193297034681066259.post-7391739817630810232011-12-07T03:09:00.002+01:002011-12-07T03:14:06.724+01:00[Info] Silliness againI've been writing a paper for an evening course I've been taking, related to chess engine searches.<br /><br />To get a clean output of the search I had to turn off most of the features, like killer moves, PVS search, aspiration windows etc.<br /><br />Funny thing, when I was going to turn off the futility pruning, I noticed it was already turned off... :) I apparently accidentally returned false for "use futility pruning" even when it met the requirements.<br /><br />That means Mediocre v0.4 is playing without it.<br /><br />I ran a quick 128 game test and turning it on seems to gain some 30-40 elo points in self play. Not too huge, but definitely silly to not have.<br /><br />I'll be sure to turn it on again in the next release. :)Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com3tag:blogger.com,1999:blog-4193297034681066259.post-73036555128397899172011-11-29T14:47:00.002+01:002011-11-29T14:54:24.276+01:00[Info] Jim Ablett's compile of Mediocre v0.4Jim has compiled Mediocre v0.4 and I added it to my sourceforge page.<br /><br />I haven't had time to test it myself, but previous experience has it that Jim's compiles are far stronger than the Java version, so I'd recommend using that.<br /><br /><a href="http://jimablett.net63.net/">Jim's page</a><br /><br /><a href="http://sourceforge.net/projects/mediocrechess/files/mediocrechess/mediocre_v0.4/mediocre_0.4-jet-ja.zip/download">Mediocre v0.4 JA compile</a>Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com0tag:blogger.com,1999:blog-4193297034681066259.post-17225928281623225222011-11-27T00:33:00.002+01:002011-11-27T00:39:27.591+01:00[New Version] v0.4 - Ponder, revamped search, UCI only<span style="font-weight:bold;">Changes:<span style="font-style:italic;"></span></span><ul><li>Any hash move used is now verified, this fixes a very rare occurrence of Mediocre crashing</li><li>The transposition table is now using the full 64 bit zobrist keys</li><li>The search was completely rewritten, possibly catching some bugs. Should show help quite a bit in playing strength</li><li>Ponder implemented</li><li>Removed the dependency of a settings file, things like hash sizes are now done through the UCI protocol</li><li>Removed the semi-working xboard protocol entirely. Sorry.</li><br /></ul>Note: This version is notably stronger than version 0.34, mainly due to bugfixes in the search.<br /><br />Mediocre is as mentioned an UCI only engine from here on. This also means I've removed old settings file, use the UCI settings commands mentioned in the readme file.<br /><br /><a href="https://sourceforge.net/projects/mediocrechess/files/latest/download">Download here</a>Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com5tag:blogger.com,1999:blog-4193297034681066259.post-78425052947603497212011-11-25T18:03:00.005+01:002011-11-25T18:10:14.453+01:00[Info] Testing resultsSo some testing to confirm I didn't do anything silly.<br /><br />M1-1 is a version with 64 bit zobrist keys in the transposition table, removal of the notion of "row" and some evaluation fixes. But without the tapered eval. (see previous posts for more info)<br /><br />Against the Mediocre v1.0 beta it turned out like this:<br /><br /><pre><br /> Program Elo + - Games Score Av.Op. Draws<br />1 M1-1 : 2401 6 6 11029 50.4 % 2399 24.5 %<br />2 M1B : 2399 6 6 11029 49.6 % 2401 24.5 %<br /></pre><br /><br />So pretty much equal, which is good enough. The worst scenario here would be the beta version being slightly stronger, but that should only be at most with a few elo points.<br /><br />And against some other engines just to confirm.<br /><br /><pre><br /> Program Elo + - Games Score Av.Op. Draws<br />1 counter : 2593 15 15 2048 76.4 % 2389 23.4 %<br />2 M1-1 : 2392 8 8 6154 48.2 % 2405 14.4 %<br />3 adam : 2337 14 15 2048 42.5 % 2389 9.3 %<br />4 bikjump : 2294 15 15 2048 36.6 % 2389 10.6 %<br /><br /> Program Elo + - Games Score Av.Op. Draws<br />1 counter : 2580 14 14 2048 75.1 % 2388 25.4 %<br />2 M1B : 2390 8 8 5854 47.5 % 2407 15.8 %<br />3 adam : 2343 14 14 2048 43.7 % 2388 9.3 %<br />4 bikjump : 2290 16 16 1748 36.4 % 2388 12.1 %<br /></pre><br />The newer version seems to be holding up.<br /><br />I'll release a new version with this during the weekend, probably on Sunday.<br /><br />Then I have a steady foundation to start tackling the evaluation again.Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com0tag:blogger.com,1999:blog-4193297034681066259.post-72266519381550003752011-11-23T23:02:00.005+01:002011-11-23T23:09:02.237+01:00[Info] So wrong again, but at least closerSo yeah, my imagined strength increase mentioned in the last post was non-existent of course.<br /><br />But, the tapered eval seems to be holding up as the culprit of my recent failures.<br /><br />I've tried to zone in on the exact version after Mediocre v1.0 Beta that did the best. With all kinds of combinations with and without 64 bit hash tables, tapered eval and removal of the notion of "row".<br /><br />The results are... inconclusive.<br /><br />However, it seems a version with everything except the specific addition of tapered eval seems to be playing at least equal with the beta version. So I think I'll just go with that one. Do a new release (to get a firm base to build from). And then start with my evaluation tampering.<br /><br />I'll post some testing results in a day or two. (not going to leave any doubt this time)Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com0tag:blogger.com,1999:blog-4193297034681066259.post-68786791057245132952011-11-18T00:44:00.006+01:002011-11-18T01:11:49.998+01:00[Info] Importance of thorough testingLately I've been struggling with one of those "super versions" that seems to beat everything I throw at it.<br /><br />When I got done with my search improvements I did some really extensive testing against Mediocre v0.34 and concluded the new version to have pretty much exactly 60% win rate against it.<br /><br />So I tagged that version and called it Mediocre v1.0 beta.<br /><br />Then I committed three things to the trunk of svn: renaming of row to file, tapered eval and the change from 32 bit to 64 bit keys in the transposition table (along with a sanity check of all tt moves).<br /><br />I thought I'd tried all of these extensively, scoring more or less equal to v1.0 beta, which I deemed ok since the changes were more or less needed for readability, stability, and future work.<br /><br />During the passed weeks any change I did, no matter how tiny it seemed, got slaughtered by 1.0 beta. All my evaluation tweaking seemed to give results, but against 1.0 beta it still lost.<br /><br />Now, the newer (uncommitted) versions had some utility changes that I really wanted to have committed (things like the mirror evaluation test). So I took those changes and added them to the 1.0 beta tag one by one, testing quite extensively between every change.<br /><br />After I'd moved over all the utility, I thought I might just as well try the three things I'd committed after 1.0 beta. This is how that testing went:<br /><ol><br /><li>Row to file change: This should just have been a readability change (the usage of "row" had lingered around since the very first version of Mediocre, while the correct terminology is of course "file"). But it turned out while doing this I'd changed the rank, file and distance methods to static (rather than instance methods). This seems to be a very good move since they're called <span style="font-style:italic;">a lot</span>, and suddenly 1.0 beta was playing better, quite a bit better.</li><br /><li>32 to 64 keys and hash move validation: I thought if anything, this would be the culprit since messing around with the transposition tables is very likely to introduce bugs. Now when re-adding it, it seems to give a tiny but noticeable strength increase..</li><br /><li>Tapered eval: Horrible horrible reduction in strength. I have no idea how I missed this, but it seems to completely ruin the evaluation. Here's the actual culprit and I'll be much more careful when trying to put it back.</li><br /></ol><br />So the moral of the story. Never assume you did enough testing if you see signs that you didn't.Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com1tag:blogger.com,1999:blog-4193297034681066259.post-57437421853210484232011-11-14T21:09:00.001+01:002011-11-14T21:14:41.691+01:00[Tournament] GECCO - Final results<pre><br /> 1 Spike wwbwbw xrtnbd 111==1 5 <br /> 2 Nightmare wbwbbw ctgsrb 1=1=1= 4.5<br /> 3 Tornado bwwbbw bnsdgm 1=0111 4.5<br /> 4 Rookie -bwbwb msdbnc 101=01 3.5<br /> 5 Baron wbbwwb tgmrsn 0=1=== 3 <br /> 6 Goldbar wwbbwb dbnctx ==0101 3 <br /> 7 Deuterium bwbwwb gxrtcs =10010 2.5<br /> 8 Mediocre -bw-bb rcbxxt 010010 2 <br /> 9 Spartacus bwbwbw nmxgdr 001000 1 <br />10 micro-Max bbw-ww sdcmmg 000100 1 <br /></pre><br />Not what I'd hoped for, but with two forfeits I guess that's what I deserve. Atleast Mediocre won the two games it should and played very well against The Baron, while pretty horrible against Tornado.<br /><br />Next time Mediocre will be in the top half. :)Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com1tag:blogger.com,1999:blog-4193297034681066259.post-80774128260243187102011-11-14T21:07:00.001+01:002011-11-14T21:09:45.614+01:00[Tournament] GECCO - Game 6Bit unlucky with the pairing and got Tornado here. Mediocre had the bishop pair and felt quite comfortable but underestimated the insanely strong white knight that ultimately lead to an unstoppable pair of passed pawns. Not much to say about this loss, Tornado was just better.<br /><iframe src=http://chess.maribelajar.com/chesspublisher/viewgame.php?id=1321301250 width=308 height=388 frameborder=0></iframe><br>Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com4tag:blogger.com,1999:blog-4193297034681066259.post-35025613141338663982011-11-14T21:04:00.003+01:002011-11-14T22:48:53.573+01:00[Tournament] GECCO - Game 5A second chance against micromax. Started out a bit crazy and then turned in to an endgame where Mediocre had the upper hand from the start.<br /><iframe src=http://chess.maribelajar.com/chesspublisher/viewgame.php?id=1321301102 width=308 height=388 frameborder=0></iframe><br>Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com0tag:blogger.com,1999:blog-4193297034681066259.post-89811951062111250302011-11-14T21:03:00.001+01:002011-11-14T21:04:30.334+01:00[Tournament] GECCO - Game 4Forfeit against micromax... yeah I overslept (and was a bit hungover after a late saturday night...), was connected to the server but for some reason Mediocre couldn't start the game. No idea why.Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com0tag:blogger.com,1999:blog-4193297034681066259.post-26368997385320980352011-11-12T17:28:00.005+01:002011-11-12T17:31:13.747+01:00[Tournament] GECCO - Standings day 1<pre> Name Rating Score Perfrm Upset Results <br /> ------------- ------ ----- ------ ------ ------- <br /> 1 +Spike [1872] 3.0 [2168] [ 10] +10w +03w +04b <br /> 2 +Nightmare [1833] 2.5 [2060] [ 24] +08w =04b +07w <br /> 3 +Rookie [1747] 2.0 [1874] [ 0] +09w -01b +06w <br /> 4 -Tornado [1882] 1.5 [1793] [ 0] +05b =02w -01w <br /> 5 +Baron [ 0] 1.5 [1793] [2587] -04w =07b +09b <br /> 6 -Deuterium [ 0] 1.5 [1748] [2587] =07b +10w -03b <br /> 7 -Goldbar [1824] 1.0 [1594] [ 0] =06w =05w -02b <br /> 8 -Spartacus [ 0] 1.0 [1594] [1675] -02b -09w +10b <br /> 9 +Mediocre [ 0] 1.0 [1565] [1675] -03b +08b -05w <br />10 -microMax [ 0] 0.0 [1340] [ 0] -01b -06b -08w <br /></pre><br />Mediocre's walkover was against Rookie which I really thought I had a chance against. Too bad.<br /><br />I guess MicroMax should be possible to beat and then we'll see what the other opponents are. Looking at the board it would be Deuterium and Goldbar. With some luck perhaps a 4.0 score isn't too impossible.<br /><br />We'll see tomorrow.Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com0tag:blogger.com,1999:blog-4193297034681066259.post-51397396015918711272011-11-12T13:01:00.004+01:002011-11-12T14:34:34.134+01:00[Tournament] GECCO - Game 3Game 3 underway against The Baron. Have no high hopes for this one. :)<br /><br />-<br /><br />A solid loss as expected, but Mediocre played quite well I'd have to say. Ended up with some over extended pawns and the kings on the wrong side (The Baron had a pawn majority on the queenside, making the pawn ending a really simple win).<br /><br /><iframe src=http://chess.maribelajar.com/chesspublisher/viewgame.php?id=1321104727 width=308 height=388 frameborder=0></iframe><br><br />Game 4 starts tomorrow at 8:30 CET.Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com0tag:blogger.com,1999:blog-4193297034681066259.post-20520414376350343972011-11-12T12:41:00.001+01:002011-11-12T12:43:31.193+01:00[Tournament] GECCO - Game 2Spartacus played weird in the end game but still almost held the draw due to opposite colored bishops.<br /><br />I have only a 20% adjustment towards draw for opposite bishops.. might be slightly too little, but rather too little than too much I guess.<br /><br /><iframe src=http://chess.maribelajar.com/chesspublisher/viewgame.php?id=1321097996 width=308 height=388 frameborder=0></iframe><br>Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com0tag:blogger.com,1999:blog-4193297034681066259.post-52926254698446092382011-11-12T10:34:00.003+01:002011-11-12T10:37:14.996+01:00[Tournament] Mediocre in GECCOMediocre is participating in a long time control tournament today and tomorrow.<br /><br /><a href="http://marcelk.net/chess/GECCO/2011/GECCC.html">http://marcelk.net/chess/GECCO/2011/GECCC.html</a><br /><br />Unfortunately I had connection issues during the first game and had to forfeit it. Second game now, against Spartacus, seems everything is going fine, 14 moves in and Mediocre says up with +1.75. :)<br /><br />I'm using a few weeks old version of Mediocre, with the changes to search but none of the recent evaluation dabbling.Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com0tag:blogger.com,1999:blog-4193297034681066259.post-27677406833296444382011-11-07T22:14:00.003+01:002011-11-07T22:38:20.624+01:00[Info] Yay meUp to my 10th failed attempt at tuning my passed pawn eval.<br /><br />The last attempt I wasted 20,000 games.<br /><br />I have tables looking like this:<br /><pre><br />Rank: 1 2 3 4 5 6 7 8<br />Value: {0,10,20,30,60,120,150,0}<br /></pre><br />That is increasingly higher evaluation the closer the passer is to promotion.<br /><br />This table can than be stretched in all kinds of directions during the tuning (increasing/decreasing all values, or increasing the differences between them) using two "knobs", so the table only needs two values to tune instead of six.<br /><br />Now, I had reversed the values when preparing for the tuning... so instead of giving 150 centipawns for being one square from queening I gave it 10.<br /><br />The tuning tried to compensate and the best it came up with was:<br /><pre><br />Rank: 1 2 3 4 5 6 7 8<br />Value: {0,-83,-60,-14,-9,17,25,0}<br /></pre><br />Quite good effort, but I find it hard to believe a 8 cp difference for 6th and 7th rank is optimal.<br /><br />Fixed the problem and running the tuning for the 11th time. :)Jonatan Petterssonhttp://www.blogger.com/profile/03152085169762414586noreply@blogger.com4