Lima a mini shogi engine

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Lima a mini shogi engine

Post 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.
myfish
Posts: 131
Joined: Sat Feb 07, 2015 3:17 pm

Re: Lima a mini shogi engine

Post by myfish »

does the source build on linux ?
User avatar
hgm
Posts: 27794
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Lima a mini shogi engine

Post by hgm »

Hi Keith! I sent you a PM on 81Dojo forum.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Lima a mini shogi engine

Post 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.
myfish
Posts: 131
Joined: Sat Feb 07, 2015 3:17 pm

Re: Lima a mini shogi engine

Post by myfish »

hgm wrote:Hi Keith! I sent you a PM on 81Dojo forum.
Seen and replied.
Basically, no problem.
myfish
Posts: 131
Joined: Sat Feb 07, 2015 3:17 pm

Re: Lima a mini shogi engine

Post 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
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Lima v3.0

Post by Ferdy »

Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Lima v4.0

Post by Ferdy »