Phalanx XXIII

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

Moderators: hgm, Rebel, chrisw

dusando
Posts: 27
Joined: Thu May 01, 2014 12:58 pm

Re: Phalanx XXIII

Post by dusando »

hgm wrote:Well, so claiming that it has "XBoard protocol v2 compatibility" seems an over-statement. It seems most of XBoard protocol would not work, (i.e. is ignored), and you have to use command-line options in stead.
No worries, all the essential commands (timecontrol settings, switching opening book, pondering, xboard mode, analyze mode, position setup, ...) are supported according to the CECP, only some of them can be switched via commandline as well.

Randomize moves and nps are exceptions here, random play implementation is different from that of gnuchess and nps feature i noticed too late in the protocol definition. The advantage of this is that Phalanx can support nps limit in any GUI and also can have both nps limit and pondering on. Also, both the nps limit and randomizing is used internally in the easy levels.
User avatar
hgm
Posts: 27787
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Phalanx XXIII

Post by hgm »

It also seems to ignore the hash-size setting, which I would consider also pretty important.

And even if your randomixation is not just an on/off switch, but needs a value, it would be much more user friendly if you provided an option for it so that it could be controlled interactively from the Engine Settings dialog.

I am not critizising the fact that you provide command-line options as a work-around for obsolete GUIs to activate the features; it is good to have those. But, as some of the options (such as ponder) already show, one doesn't need to exclude the other. I really think it would improve the user experience if hash size, random magnitude, book directories, learning files and such could be set from the GUI.
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Phalanx XXIII

Post by Werner »

I wonder,
what is the difference to Phalanx XXIII JA from 2012 ?

regards
Werner
dusando
Posts: 27
Joined: Thu May 01, 2014 12:58 pm

Re: Phalanx XXIII

Post by dusando »

hgm wrote:It also seems to ignore the hash-size setting, which I would consider also pretty important.

And even if your randomixation is not just an on/off switch, but needs a value, it would be much more user friendly if you provided an option for it so that it could be controlled interactively from the Engine Settings dialog.

I am not critizising the fact that you provide command-line options as a work-around for obsolete GUIs to activate the features; it is good to have those. But, as some of the options (such as ponder) already show, one doesn't need to exclude the other. I really think it would improve the user experience if hash size, random magnitude, book directories, learning files and such could be set from the GUI.
Thanks for checking the engine and for the hints. The 'memory' command support should be fairly simple, this will be part of the XXIV release. The other features i will think about, there are more ideas related to easy levels and the root moves evaluation feature (now used for randomizing only).
dusando
Posts: 27
Joined: Thu May 01, 2014 12:58 pm

Re: Phalanx XXIII

Post by dusando »

Werner wrote:I wonder,
what is the difference to Phalanx XXIII JA from 2012 ?

regards
Werner
I was not involved in 2012, but as far as i can guess based on the sourceforge repository history, the Jim Ablett's 2012 version is just XXII tweaked for a good and fast native windows build, plus there's amended FEN parsing, but the engine inside is identical to XXII. Should have been called 'XXIII beta'.
Tord Romstad
Posts: 1808
Joined: Wed Mar 08, 2006 9:19 pm
Location: Oslo, Norway

Re: Phalanx XXIII

Post by Tord Romstad »

Thanks Dusan, this is awesome news!

Phalanx was always one of my favorite programs, and to a large part I learned chess programming by studying your source code. Even today, you can see a clear influence from Phalanx in Stockfish's king safety evaluation.

If you are interested, I can help you bring your program to iOS, using Stockfish's iOS GUI. All I would need from your side is UCI protocol support in the engine.
dusando
Posts: 27
Joined: Thu May 01, 2014 12:58 pm

Re: Phalanx XXIII

Post by dusando »

Tord Romstad wrote:Thanks Dusan, this is awesome news!

Phalanx was always one of my favorite programs, and to a large part I learned chess programming by studying your source code. Even today, you can see a clear influence from Phalanx in Stockfish's king safety evaluation.

If you are interested, I can help you bring your program to iOS, using Stockfish's iOS GUI. All I would need from your side is UCI protocol support in the engine.
Hi Tord, thanks a lot, i'm glad to read this. Phalanx had the reputation of somewhat hard to read code, but maybe people just got confused with all the magic formulas in the fractional ply extension routines. Other than that i still believe the basic data structures are easy to grasp. You had even read important parts of the large static evaluation function and found a bug in the king safety years ago, now this is finally fixed in XXIII, thanks again.

I haven't checked the UCI protocol yet, at this time i'm finally almost ok with CECP2 (the current CECP version is a very good protocol, too) and would like to play with reductions and prunings first, so maybe then.

BTW Stockfish is an amazing thing. Not only it's a good piece of chess software, it's also a well organized opensource project, using the advantages of open source approach to maximum. Often I use it for post game analysis of my OTB games, some months ago it surpised me with a positional sac of a piece for 2 pawns + initiative when i was analysing a game where i was not brave enough to play that sac. A nice surprise indeed.
Charly
Posts: 1091
Joined: Wed Jul 23, 2014 4:30 pm
Location: Bretagne

Re: Phalanx XXIII

Post by Charly »

Hi,

Here is the first game of Phlanx XXIII "Official" in my current "League Botvinnik" (8' ko, no book, no ponder, no TB) :

Code: Select all

[Event "ACCC_2014_League Botvinnik_8ko"]
[Site "?"]
[Date "2014.10.24"]
[Round "1"]
[White "Phalanx XXIII"]
[Black "Amy 0.87b"]
[Result "1-0"]
[BlackElo "2445"]
[ECO "C00"]
[Opening "French"]
[Time "01:14:58"]
[Variation "2.d4"]
[WhiteElo "2460"]
[TimeControl "480+0"]
[Termination "normal"]
[PlyCount "147"]
[WhiteType "program"]
[BlackType "program"]

1. e4 e6 {+0.12/11 8} 2. d4 Nf6 {+0.20/10 8} 3. e5 {+0.95/10 7} Nd5
{+0.30/11 7} 4. c4 {+0.95/10 12} Nb4 {+0.16/11 7} 5. Bd2 {+0.85/10 16} Qh4
{+0.14/10 8} 6. Be3 {+1.14/10 6} Qe4 {+0.27/11 7} 7. Kd2 {+1.02/10 7} N4c6
{+0.56/11 9} 8. Kc1 {+1.75/10 13} d6 {+0.08/11 10} 9. Nc3 {+1.66/11 13} Qh4
{+0.19/11 7} 10. f4 {+1.56/10 10} Qd8 {+0.12/11 6} 11. Nf3 {+1.58/10 11} d5
{+0.14/10 21} 12. f5 {+1.75/9 11} Bb4 {+0.32/10 6} 13. fxe6 {+1.74/10 15}
Bxe6 {+0.04/11 6} 14. cxd5 {+1.75/10 7} Bxd5 {+0.51/11 4} 15. Nxd5
{+1.75/10 5} Qxd5 {+0.49/11 6} 16. Qc2 {+1.48/10 23} Na5 {+0.57/10 11} 17.
Kb1 {+1.45/9 6} Nd7 {+0.68/10 6} 18. Bd3 {+1.61/10 10} Qc6 {+0.80/9 5} 19.
Qe2 {+1.69/10 19} Qd5 {+0.64/10 9} 20. Rc1 {+1.71/9 7} c5 {+0.86/10 5} 21.
dxc5 {+2.04/9 10} Bxc5 {+1.48/10 18} 22. Bd2 {+2.58/9 4} Bb6 {+0.94/10 5}
23. Bxa5 {+2.47/9 4} Qxa5 {+1.36/11 6} 24. Bb5 {+3.24/10 10} a6 {+1.53/10
7} 25. Bxd7+ {+3.09/9 3} Kxd7 {+1.88/10 16} 26. Ng5 {+2.85/10 30} Ke8
{+2.04/10 8} 27. Qf3 {+2.09/9 9} Rf8 {+1.64/11 10} 28. Nxh7 {+1.90/9 16}
Qxe5 {+1.63/10 4} 29. Nxf8 {+1.93/8 3} Kxf8 {+1.69/10 4} 30. a4 {+1.92/9 5}
Rb8 {+1.93/10 13} 31. Rf1 {+1.91/9 4} f6 {+1.84/10 5} 32. Rd1 {+1.94/9 7}
Bc7 {+1.88/9 6} 33. Qa3+ {+2.00/9 9} Ke8 {+1.85/10 5} 34. Qb3 {+2.11/9 2}
Ke7 {+1.72/10 6} 35. h3 {+1.96/8 5} b5 {+1.80/9 3} 36. axb5 {+2.13/9 4}
Rxb5 {+1.88/10 3} 37. Qc2 {+2.19/9 4} a5 {+1.88/9 4} 38. Ra4 {+2.29/9 4}
Bb6 {+2.04/9 2} 39. Rc4 {+2.35/9 6} f5 {+2.08/9 2} 40. Qc1 {+2.36/8 3} Bc5
{+2.19/9 3} 41. Ka1 {+2.41/8 4} Kf6 {+2.12/9 2} 42. Re1 {+2.87/9 7} Qg3
{+2.76/10 3} 43. Qd2 {+3.29/9 5} Qd6 {+5.31/10 3} 44. Qc3+ {+5.31/9 3} Kg6
{+5.72/10 2} 45. Qe5 {+5.78/9 6} Qd7 {+5.92/10 2} 46. Qe6+ {+6.55/9 2} Qxe6
{+6.56/13 4} 47. Rxe6+ {+6.54/11 1} Kg5 {+6.60/13 3} 48. Re5 {+6.87/11 4}
Rb3 {0.00/12 8} 49. Rcxc5 {+7.21/11 4} g6 {+6.70/12 2} 50. Rxa5 {+7.30/10
4} Rb6 {+6.84/12 5} 51. Re2 {+7.37/9 6} Kf6 {+6.91/11 2} 52. Ka2 {+7.40/8
1} Kg5 {+6.88/11 3} 53. Ka3 {+7.59/9 5} Kf4 {+7.04/11 2} 54. b4 {+7.65/8 2}
Kg5 {+7.16/10 3} 55. b5 {+8.02/8 1} Kh5 {+7.63/10 5} 56. Kb4 {+8.50/8 1}
Rd6 {+8.04/10 3} 57. Kc5 {+8.74/8 1} Rd3 {+10.66/10 3} 58. b6 {+10.18/9 6}
Rc3+ {+10.89/10 4} 59. Kb5 {+11.42/9 1} Rc8 {+10.94/11 2} 60. b7 {+11.62/9
3} Rb8 {+11.84/12 5} 61. Kb6 {+11.69/8 1} Kg5 {+12.43/12 2} 62. Re6
{+11.96/8 3} Kh6 {+12.57/11 1} 63. Ra8 {+13.03/8 1} Rxb7+ {+19.32/12 1} 64.
Kxb7 {+13.33/9 1} Kg5 {+19.55/12 1} 65. h4+ {+14.52/8 2} Kh5 {+24.59/13 2}
66. Rg8 {+14.52/8 1} Kg4 67. Rexg6+ {+21.60/8 1} Kf4 68. h5 {+21.72/9 2}
Ke4 69. h6 {+21.93/8 1} f4 {+M0/7 0} 70. Re8+ {+M4/8 2} Kf5 71. Ree6 f3 72.
h7 fxg2 {+M0/4 0} 73. h8=Q g1=Q {+M0/4 0} 74. Qf8# 1-0

:D Phalanx has always been my long time favorite, with Arasan, Tao, and Ruffian (as many many other engines !)

Arnaud Loheac

ACCC
http://aloheac.perso.neuf.fr/
dusando
Posts: 27
Joined: Thu May 01, 2014 12:58 pm

Re: Phalanx XXIII

Post by dusando »

Charly wrote:Hi,

Here is the first game of Phlanx XXIII "Official" in my current "League Botvinnik" (8' ko, no book, no ponder, no TB) :

Code: Select all

[Event "ACCC_2014_League Botvinnik_8ko"]
[Site "?"]
[Date "2014.10.24"]
[Round "1"]
[White "Phalanx XXIII"]
[Black "Amy 0.87b"]
[Result "1-0"]
[BlackElo "2445"]
[ECO "C00"]
[Opening "French"]
[Time "01:14:58"]
[Variation "2.d4"]
[WhiteElo "2460"]
[TimeControl "480+0"]
[Termination "normal"]
[PlyCount "147"]
[WhiteType "program"]
[BlackType "program"]

1. e4 e6 {+0.12/11 8} 2. d4 Nf6 {+0.20/10 8} 3. e5 {+0.95/10 7} Nd5
{+0.30/11 7} 4. c4 {+0.95/10 12} Nb4 {+0.16/11 7} 5. Bd2 {+0.85/10 16} Qh4
{+0.14/10 8} 6. Be3 {+1.14/10 6} Qe4 {+0.27/11 7} 7. Kd2 {+1.02/10 7} N4c6
{+0.56/11 9} 8. Kc1 {+1.75/10 13} d6 {+0.08/11 10} 9. Nc3 {+1.66/11 13} Qh4
{+0.19/11 7} 10. f4 {+1.56/10 10} Qd8 {+0.12/11 6} 11. Nf3 {+1.58/10 11} d5
{+0.14/10 21} 12. f5 {+1.75/9 11} Bb4 {+0.32/10 6} 13. fxe6 {+1.74/10 15}
Bxe6 {+0.04/11 6} 14. cxd5 {+1.75/10 7} Bxd5 {+0.51/11 4} 15. Nxd5
{+1.75/10 5} Qxd5 {+0.49/11 6} 16. Qc2 {+1.48/10 23} Na5 {+0.57/10 11} 17.
Kb1 {+1.45/9 6} Nd7 {+0.68/10 6} 18. Bd3 {+1.61/10 10} Qc6 {+0.80/9 5} 19.
Qe2 {+1.69/10 19} Qd5 {+0.64/10 9} 20. Rc1 {+1.71/9 7} c5 {+0.86/10 5} 21.
dxc5 {+2.04/9 10} Bxc5 {+1.48/10 18} 22. Bd2 {+2.58/9 4} Bb6 {+0.94/10 5}
23. Bxa5 {+2.47/9 4} Qxa5 {+1.36/11 6} 24. Bb5 {+3.24/10 10} a6 {+1.53/10
7} 25. Bxd7+ {+3.09/9 3} Kxd7 {+1.88/10 16} 26. Ng5 {+2.85/10 30} Ke8
{+2.04/10 8} 27. Qf3 {+2.09/9 9} Rf8 {+1.64/11 10} 28. Nxh7 {+1.90/9 16}
Qxe5 {+1.63/10 4} 29. Nxf8 {+1.93/8 3} Kxf8 {+1.69/10 4} 30. a4 {+1.92/9 5}
Rb8 {+1.93/10 13} 31. Rf1 {+1.91/9 4} f6 {+1.84/10 5} 32. Rd1 {+1.94/9 7}
Bc7 {+1.88/9 6} 33. Qa3+ {+2.00/9 9} Ke8 {+1.85/10 5} 34. Qb3 {+2.11/9 2}
Ke7 {+1.72/10 6} 35. h3 {+1.96/8 5} b5 {+1.80/9 3} 36. axb5 {+2.13/9 4}
Rxb5 {+1.88/10 3} 37. Qc2 {+2.19/9 4} a5 {+1.88/9 4} 38. Ra4 {+2.29/9 4}
Bb6 {+2.04/9 2} 39. Rc4 {+2.35/9 6} f5 {+2.08/9 2} 40. Qc1 {+2.36/8 3} Bc5
{+2.19/9 3} 41. Ka1 {+2.41/8 4} Kf6 {+2.12/9 2} 42. Re1 {+2.87/9 7} Qg3
{+2.76/10 3} 43. Qd2 {+3.29/9 5} Qd6 {+5.31/10 3} 44. Qc3+ {+5.31/9 3} Kg6
{+5.72/10 2} 45. Qe5 {+5.78/9 6} Qd7 {+5.92/10 2} 46. Qe6+ {+6.55/9 2} Qxe6
{+6.56/13 4} 47. Rxe6+ {+6.54/11 1} Kg5 {+6.60/13 3} 48. Re5 {+6.87/11 4}
Rb3 {0.00/12 8} 49. Rcxc5 {+7.21/11 4} g6 {+6.70/12 2} 50. Rxa5 {+7.30/10
4} Rb6 {+6.84/12 5} 51. Re2 {+7.37/9 6} Kf6 {+6.91/11 2} 52. Ka2 {+7.40/8
1} Kg5 {+6.88/11 3} 53. Ka3 {+7.59/9 5} Kf4 {+7.04/11 2} 54. b4 {+7.65/8 2}
Kg5 {+7.16/10 3} 55. b5 {+8.02/8 1} Kh5 {+7.63/10 5} 56. Kb4 {+8.50/8 1}
Rd6 {+8.04/10 3} 57. Kc5 {+8.74/8 1} Rd3 {+10.66/10 3} 58. b6 {+10.18/9 6}
Rc3+ {+10.89/10 4} 59. Kb5 {+11.42/9 1} Rc8 {+10.94/11 2} 60. b7 {+11.62/9
3} Rb8 {+11.84/12 5} 61. Kb6 {+11.69/8 1} Kg5 {+12.43/12 2} 62. Re6
{+11.96/8 3} Kh6 {+12.57/11 1} 63. Ra8 {+13.03/8 1} Rxb7+ {+19.32/12 1} 64.
Kxb7 {+13.33/9 1} Kg5 {+19.55/12 1} 65. h4+ {+14.52/8 2} Kh5 {+24.59/13 2}
66. Rg8 {+14.52/8 1} Kg4 67. Rexg6+ {+21.60/8 1} Kf4 68. h5 {+21.72/9 2}
Ke4 69. h6 {+21.93/8 1} f4 {+M0/7 0} 70. Re8+ {+M4/8 2} Kf5 71. Ree6 f3 72.
h7 fxg2 {+M0/4 0} 73. h8=Q g1=Q {+M0/4 0} 74. Qf8# 1-0

:D Phalanx has always been my long time favorite, with Arasan, Tao, and Ruffian (as many many other engines !)

Arnaud Loheac

ACCC
http://aloheac.perso.neuf.fr/
Now that's a hypermodern opening style, Phalanx ignores the dogmata and plays 7. Kd2!? :)

Arnaud, how come AnMon 5.75 is rated below Phalanx in your list, I believe it should be still stronger by 100 elo points at least. You might want to check AnMon setup, does it get the correct amount of hash table? Or is it just it cannot handle openings that well without the opening book?
Richard Allbert
Posts: 792
Joined: Wed Jul 19, 2006 9:58 am

Re: Phalanx XXIII

Post by Richard Allbert »

Charly wrote:*snip*

Arnaud Loheac

ACCC
http://aloheac.perso.neuf.fr/
Nice site, nice to see a range of engines being used.