Page 1 of 1

Lima a mini shogi engine

Posted: Tue Nov 10, 2015 4:04 am
by Ferdy
Just released version 2, which will also participate in the 9th UEC Cup, this 22nd of November.

Changes since last released version.

Code: Select all

Version 2 
(November 10, 2015)
 1. Bug fixes on evaluation and search
 2. Improve evaluation, more bonus are given for the side with on-hand pieces
    where there are weak squares close to opponent's king. Added piece square
	table for king. Added king shelter bonus score
 3. Tune some evaluation parameter values
 4. Modify Static Exchange Evaluation (SEE) piece values, Silver, promoted Pawn,
    promoted Silver, Gold, Bishop and Rook have now same values
 5. Don't extend checking moves that have bad SEE, including drop moves
 6. Improve move ordering of drop moves, move ordering score is increased for drop moves
    that are safe and at the same time able to attack opponent's pieces from drop square
 7. Drops moves with low move ordering score are pruned at lower depths
 8. Tune LMR conditions for both pv and non-pv nodes
 9. Tune null move pruning conditions
10. Improve time handling routines, increase search time when position is bad, also
    implement easy move when there is recapture
11. New book format in binary is implemented which also considers win and loss
    statistics and number of games played for book play percent calculation
12. Added book learning, when time control is 10 minutes or more and the option
    book learning is enabled, positions and moves up to 20 moves will be recorded to the
	book after knowing the result for the played game via result command from the Gui.
	These new info to the book may affect move selection for the next game
13. Added multiPV feature
14. Added Exclude move feature
15. Added option to change the weight of material evaluation and option to disable null move pruning
16. Modify output format, in multipv mode and/or exclude move mode, effective branching
    factor (ebf) and selective depth (sd) are shown after the pv move
17. When playing a game, distance to mate by move, ebf and sd info are shown before the pv line
Test results at TC 2 minutes, from 400 start positions, with starting side reversed for a total of 800 games.

Code: Select all

   # PLAYER                     : RATING  ERROR   POINTS  PLAYED    (%)
   1 Shokidoki ICGA 2015++      :   29.3   16.4    433.0     800   54.1%
   2 Lima v2-00 64bit popcnt    :    0.0   ----    367.0     800   45.9%

White advantage = -34.52 +/- 9.08
Draw rate (equal opponents) = 50.00 % +/- 0.00
Download:
https://sites.google.com/site/deuterium ... /shogi-5x5

Notes:
1. In the download file, rename Lima_v2-00_64bit_popcnt.png to Lima_v2-00_64bit_popcnt.exe, same with other files with extension png, for 64bit without popcnt and 32bit exe files.

Re: Lima a mini shogi engine

Posted: Fri Nov 13, 2015 8:29 pm
by myfish
does the source build on linux ?

Re: Lima a mini shogi engine

Posted: Fri Nov 13, 2015 11:08 pm
by hgm
Hi Keith! I sent you a PM on 81Dojo forum.

Re: Lima a mini shogi engine

Posted: Fri Nov 13, 2015 11:50 pm
by Ferdy
myfish wrote:does the source build on linux ?
The source is in c, perhaps it will compile but I don't do linux compiles.

Re: Lima a mini shogi engine

Posted: Sun Nov 15, 2015 10:19 am
by myfish
hgm wrote:Hi Keith! I sent you a PM on 81Dojo forum.
Seen and replied.
Basically, no problem.

Re: Lima a mini shogi engine

Posted: Sun Nov 15, 2015 10:20 am
by myfish
Ferdy wrote:
myfish wrote:does the source build on linux ?
The source is in c, perhaps it will compile but I don't do linux compiles.
Would be interesting to try. Sometimes it's fairly straightforward, sometimes impossible... lol

Lima v3.0

Posted: Tue Jan 17, 2017 12:29 pm
by Ferdy

Lima v4.0

Posted: Tue Jan 31, 2017 9:56 am
by Ferdy