I tried returning the current score and the best move when time is up, but the returned pv and the score were bad. I couldn't find anything simple that works that resulted in an ELO increase.hgm wrote: It is important to have a search abort, not only for ponder misses, but also for time management, to handle the occasional search explosion. The easy part is to have a gloabal 'abortFlag', and return from Search() directly after UnMake() when that flag is set.
9th Annual ACCA World Computer Rapid Chess Championships
Moderator: Ras
-
brtzsnr
- Posts: 433
- Joined: Fri Jan 16, 2015 4:02 pm
Re: 9th Annual ACCA World Computer Rapid Chess Championships
-
mvk
- Posts: 589
- Joined: Tue Jun 04, 2013 10:15 pm
Re: 9th Annual ACCA World Computer Rapid Chess Championships
Arasan stunned Rookie by sacrificing a knight in the opening for a direct king attack and win.jdart wrote:tournament results:
http://tomato.chessclub.com/tom/tnum/ma1793_grid.html.
Komodo was the winner with a perfect 9/9 score.
--Jon
[d] r1bq1rk1/5p2/pb1p1n1p/npp1p1p1/4P2B/2PP1N2/PPB2PPP/R2QRNK1 w - -
Nxg5!!
Code: Select all
ArasanX(C) kibitzes: time=94.77 sec. score=+1.89 depth=25 nps=6.60M cpu=2114.57% pv: Nxg5 Nxe4 Nh7 Qxh4 Rxe4 Qd8 Nxf8 Kxf8 Re3 Be6 Ng3 Qg5 Ne4 Qh4 Qf3 Bd5 g3 Qh3 Qf6 Qe6 Qxe6 Bxe6 Nxd6 Nc6\012
Code: Select all
r1bq1rk1/5p2/pb1p1n1p/npp1p1N1/4P2B/2PP4/PPB2PPP/R2QRNK1 b - - 0 1
time ply score variation
0.0 1 +1.178 1... hxg5 2. Bxg5
0.0 2 +1.178 1... hxg5 2. Bxg5
0.0 3 +1.349 1... hxg5 2. Bxg5 c4
0.0 4 +1.041 1... hxg5 2. Bxg5 Be6 3. Ne3
0.0 5 +1.104 1... hxg5 2. Bxg5 Be6 3. Ne3 c4
0.0 6 +0.925 1... hxg5 2. Bxg5 Be6 3. h4 Kh7 4. Ne3
0.0 7 +0.988 1... hxg5 2. Bxg5 Kh7 3. Ne3 Rg8 4. h4 Be6
0.1 8 +0.857 1... h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xg5 2. Bxg5 c4 3. d4 Bg4 4. Bxf6 Bxd1 5. Bxd8 Raxd8
6. Raxd1 exd4 7. cxd4 Nc6 8. d5 Nd4 9. Ne3 Rfe8 10. Bb1
Re5 11. Nc2 Nxc2 12. Bxc2 Kg7 13. h4 Rg8 14. g4
[Account deleted]
-
jdart
- Posts: 4433
- Joined: Fri Mar 10, 2006 5:23 am
- Location: http://www.arasanchess.org
Re: 9th Annual ACCA World Computer Rapid Chess Championships
That is a bug. If the abort flag is set you should exit the search without updating either best move or PV, so you need a condition around the update logic. If your update logic is correct then you should have a valid move and PV after abort.I tried returning the current score and the best move when time is up, but the returned pv and the score were bad.
--Jon
-
bob
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: 9th Annual ACCA World Computer Rapid Chess Championships
bishop + knight against lone king is a forced win. Crafty can win that with or without endgame tables...brtzsnr wrote:This was a fun contest with really strong engines. Thank you Charles for organizing. Here are my takeaways for zurichess:
* Time management is bad. Zurichess uses too little time in the midgame and too much time in the end game. Current algorithm is to allocate per move (time + moves_to_go * inc) / moves_to_go / branching_factor. I adjusted the calculation of the branching factor a bit and got +12ELO
* In some cases (close to being mated, enemy pawn can promote and high depths) the search explodes. In the game against Telepath zurichess spent 9min on a move. This also affects time management which has to be a bit conservative to protect against search explosions. I tried pruning minor promotions, but I get a 5 ELO hit.
* In the end game with a bishop it's best to push the enemy king to the corner of the right color.
* Pondering can be stopped earlier when there is ponder miss. Generally I don't know yet how to abort the search properly when time is up so pondering has to be conservative with the time allocated.
* Crafty won against zurichess with only a bishop and a knight. Zurichess doesn't use end-game table bases, I wonder if it could have avoided the mate.
* I probably need a better opening book for contests.
I uploaded my games here https://goo.gl/FQINPV. There are ten more games, besides zurichess' games. If your engine played agains zurichess and you noticed an area that I need to improve my engine, I would like to hear your opinion.