Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: dynamic UCI option values #86

Open
tissatussa opened this issue Feb 14, 2024 · 1 comment
Open

Enhancement: dynamic UCI option values #86

tissatussa opened this issue Feb 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@tissatussa
Copy link

tissatussa commented Feb 14, 2024

It seems Megalodon has no sense for long term strategic goals, in my case : pressure on the h-line.

You could try to dynamically change the UCI values for the pieces etc. :

Screenshot_2024-02-14_05-53-43

first determine some game phase or position type. I have some ideas.

other simple engines have the same issue, although their style may differ : they reach only about depth 8 (i played 2 games for you, each 15 min. per player).

lichess org-9m7JVgK4-megalodon

[Event "human vs engine"]
[Site "Holland @ https://lichess.org/9m7JVgK4/black "]
[Date "2024.02.14"]
[Round "?"]
[White "Megalodon v1.1.0"]
[Black "Roelof Berkepeis"]
[Result "0-1"]
[ECO "A02"]
[Opening "Bird's Opening"]
[TimeControl "900+3"]

  1. f4 {-0.95/7 13s} b6 {522s} 2. Nf3 {-0.90/7 13s} e6 {34s} 3. c4 {-0.94/7 14s} Be7 {29s} 4. Nc3 {-0.87/7 14s} h5 {57s} 5. a3 {-0.81/7 14s} h4 {9.5s} 6. e4 {-0.78/7 15s} Nh6 {152s} 7. d4 {-0.59/7 15s} Bb7 {51s} 8. Qd3 {+1.49/6 15s} f5 {73s} 9. exf5 {-0.91/7 16s} Nxf5 {19s} 10. Ne5 {+2.08/6 16s} h3 {13s} 11. d5 {-1.59/7 17s} Bc5 {57s} 12. gxh3 {-0.63/7 18s} Qh4+ {10s} 13. Kd1 {-0.72/7 18s} Na6 {319s} 14. b4 {+3.20/6 19s} Bd4 {13s} 15. Bg2 {-1.59/7 20s} O-O-O {62s} 16. Be4 {-0.36/7 21s} Bxc3 17.Qxc3 {+1.26/8 15s} 17...Nd6 {118s} 18.Bg2 {-1.51/7 15s} 18...g5 {335s} 19.b5 {-0.65/7 16s} 19...Nc5 {13s} 20.fxg5 {-1.05/7 16s} 20...Nde4 {49s} 21.Bxe4 {+1.99/8 17s} 21...Nxe4 {3.4s} 22.Qe3 {+0.97/8 17s} 22...exd5 {63s} 23.Kc2 {-1.40/7 18s} 23...Rhf8 {100s} 24.cxd5 {-1.26/7 18s} 24...Rf2+ {21s} 25.Kd1 {-1.99/7 19s} 25...Re8 {63s} 26.Ng4 {+2.35/8 20s} 26...Bxd5 {64s} 27.Re1 {-3.07/7 21s} 27...Rg2 {102s} 28.Rf1 {-0.17/8 22s} 28...Nd6 {48s} 29.Qc3 {-3.49/7 23s} 29...Bc4 {122s} 30.Ne3 {-2.42/8 24s} 30...Qh5+ {26s} 31.Ng4 {-4.50/8 26s} 31...Bxf1 {15s} 32.Bf4 {-5.67/8 28s} 32...Be2+ {34s} 33.Kc1 {-5.51/8 30s} 33...Rg1+ {25s} 34.Kb2 {-5.50/8 33s} 34...Nxb5 {18s} 35.Rxg1 {-5.11/8 37s} 35...Nxc3 {6.0s} 36.Nf6 {-6.37/8 42s} 36...Na4+ {44s} 37.Ka1 {-10.26/10 50s} 37...Qf3 {41s} 38.Bc1 {-9.47/8 63s} 38...Qc3+ {6.8s} 39.Ka2 {+M5/9 55s} 39...Bc4+ {60s} 40.Kb1 {+M3/9 48s} 40...Re2 {49s} 41.Nxd7 {+M1/8 42s} 41...Bd3# {31s, Black mates} 0-1

lichess org-9mzuCmRo-megalodon

[Event "human vs engine"]
[Site "Holland @ https://lichess.org/9mzuCmRo/black "]
[Date "2024.02.14"]
[Round "?"]
[White "Megalodon v1.1.0"]
[Black "Roelof Berkepeis"]
[Result "0-1"]
[ECO "A02"]
[Opening "Bird's Opening"]
[TimeControl "900+3"]

  1. f4 {-0.95/7 13s} b6 {4.9s} 2. e4 {-0.90/7 13s} e6 {47s} 3. c4 {-0.91/7 14s}
    Be7 {14s} 4. a3 {-0.86/7 14s} h5 {6.3s} 5. Be2 {+1.09/6 14s} Bb7 {40s}
  2. d3 {-0.92/7 15s} h4 {42s} 7. Bf3 {-0.77/7 15s} Nh6 {67s} 8. Nc3 {-0.74/7 16s}
    Nc6 {48s} 9. Nge2 {-0.70/7 16s} g6 {237s} 10. Qa4 {+1.51/6 17s} Bc5 {45s}
  3. b4 {+0.11/7 17s} Bd4 {5.8s} 12. e5 {+2.04/8 18s} Nf5 {33s}
  4. Qd1 {+0.03/7 18s} Qc8 {59s} 14. Bxc6 {-0.76/7 19s} Bxc6 {54s}
  5. Nxd4 {+1.33/8 20s} Nxd4 {4.9s} 16. Rg1 {+1.18/8 21s} h3 {11s}
  6. Be3 {+0.32/8 22s} Nf5 {9.5s} 18. Bf2 {+0.32/8 23s} hxg2 {84s}
  7. b5 {-1.95/7 25s} Bb7 {32s} 20. Ne4 {-2.07/7 27s} Rxh2 {28s}
  8. c5 {-4.28/7 29s} Ke7 {51s} 22. cxb6 {-3.24/7 32s} axb6 {24s}
  9. Qd2 {-3.30/7 36s} Qh8 {133s} 24. Ng3 {-3.30/7 41s} Nxg3 {62s}
  10. Qb4+ {-2.07/8 48s} d6 {5.5s} 26. Bxg3 {-1.10/8 60s} Rh1 {3.5s}
  11. Kf2 {-1.10/8 53s} Qh5 {41s} 28. Ke3 {-2.18/8 46s} Qf3+ {9.8s}
  12. Kd2 {-9.25/9 40s} Qxg3 {17s} 30. Kc3 {-4.19/8 35s} g5 {103s}
  13. Qc4 {-4.29/8 31s} Kd7 {43s} 32. exd6 {-4.99/8 27s} cxd6 {15s}
  14. f5 {-10.46/7 24s} Rc8 {16s} 34. fxe6+ {-7.80/8 21s} fxe6 {4.7s}
  15. Qxc8+ {-7.84/8 19s} Kxc8 {2.7s} 36. Rac1 {-8.90/8 17s} Qf2 {31s}
  16. Kb3+ {-13.15/9 15s} Kd7 {14s} 38. Rgd1 {-13.02/8 13s} Rxd1 {7.4s}
  17. Rxd1 {-17.04/9 12s} Bd5+ {6.8s} 40. Kc3 {-16.99/9 11s} Qc5+ {25s}
  18. Kd2 {-16.98/9 9.7s} Bb3 {23s} 42. Ra1 {-13.07/8 8.8s} Qf2+ {11s}
  19. Kc3 {+M7/9 8.0s} Qc2+ {7.0s} 44. Kb4 {+M5/10 7.4s} Ba4 {27s}
  20. Rb1 {+M3/9 6.8s} g1=Q {18s} 46. Rxg1 {+M1/8 6.3s} Qb3# {4.4s, Black mates}
    0-1
@tissatussa tissatussa added the enhancement New feature or request label Feb 14, 2024
@tissatussa
Copy link
Author

here's another one .. this time i played the White pieces, also 15 min. pp .. again, there's a lot of pressure on the h-file and now also by the long black squared diagonal .. on the long term Megalodon can't defend all squares around the King .. i let the game somehow slip away but won ..

lichess org-kxLH06nT-megalodon

[Event "human vs engine"]
[Site "Holland @ https://lichess.org/kxLH06nT "]
[Date "2024.02.14"]
[Round "?"]
[White "Roelof Berkepeis"]
[Black "Megalodon v1.1.0"]
[Result "1-0"]
[ECO "A04"]
[Opening "Reti Opening"]
[TimeControl "900+3"]

  1. Nf3 c6 {-1.04/7 13s} 2. b3 {9.7s} e6 {-1.04/7 14s} 3. e3 {999s} Be7 {-0.98/7 14s} 4. Bb2 {5.3s} Bf6 {-0.93/7 14s} 5. Qc1 {3.9s} d6 {-0.95/7 15s} 6. g4 {23s} e5 {-0.16/7 15s} 7. h3 {69s} e4 {+0.10/7 15s} 8. Nh2 {12s} h5 {-0.70/7 16s} 9. Be2 {17s} hxg4 {+0.17/7 16s} 10. Nxg4 {22s} Bxg4 {+0.13/7 17s} 11. Bxg4 {2.4s} Nh6 {-0.67/7 17s} 12. Be2 {4.6s} Bxb2 {-1.01/7 18s} 13. Qxb2 {3.3s} O-O {+1.28/8 19s} 14. Rg1 {16s} Nf5 {+1.35/8 20s} 15. Bg4 {26s} Nh4 {+1.37/8 21s} 16. Na3 {64s} Qg5 {-0.46/7 22s} 17. O-O-O {13s} Qe7 {-0.99/7 23s} 18. c4 {75s} d5 {-0.97/7 24s} 19. Nc2 {23s} g6 {-0.95/7 26s} 20. Ne1 {89s} Rd8 {-0.87/7 28s} 21. Ng2 {33s} Nxg2 {+0.11/7 31s} 22. Rxg2 {4.1s} a6 {-0.62/7 34s} 23. Rh1 {49s} b5 {-0.54/7 38s} 24. h4 {22s} bxc4 {+2.31/8 44s} 25. h5 {29s} cxb3 {+2.27/8 53s} 26. hxg6 {11s} Qc5+ {+0.70/9 57s} 27. Kd1 {32s} Qc2+ {-1.22/11 50s} 28. Qxc2 {3.8s} bxc2+ {-0.12/10 44s} 29. Kxc2 {4.4s} c5 {-0.12/8 38s} 30. gxf7+ {10s} Kxf7 {-3.15/9 33s} 31. Rh6 {55s} Ke7 {-0.16/8 29s} 32. Re6+ {8.4s} Kf7 {-3.25/9 26s} 33. Rb6 {16s} Ke7 {-3.19/9 23s} 34. Bh5 {20s} Nd7 {-3.00/9 20s} 35. Rg7+ {31s} Kf8 {-0.02/10 18s} 36. Rf7+ {7.6s} Kg8 {-1.31/9 16s} 37. Rb7 {35s} Ne5 {-1.48/9 14s} 38. Rg7+ {4.9s} Kh8 {-0.16/8 13s} 39. Rbe7 {47s} Rab8 {+0.10/8 11s} 40. Rg3 {27s} Nc4 {+0.23/8 10s} 41. Bg6 {39s} Rb2+ {-0.15/7 9.3s} 42. Kc3 {16s} Rxa2 {0.00/8 8.5s} 43. Rh7+ {3.5s} Kg8 {-4.99/11 7.7s} 44. Bxe4+ {18s} Kf8 {-0.17/10 7.1s} 45. Rh8+ {12s} Ke7 {-0.09/10 6.6s} 46. Rxd8 {37s} Ra3+ {-1.16/9 6.1s} 47. Kc2 {4.2s} Ra2+ {-0.04/8 5.7s} 48. Kb1 {36s} Rb2+ {-0.91/8 5.3s} 49. Ka1 {4.4s} Kxd8 {-2.73/7 5.0s} 50. Bxd5 {6.2s} Rb4 {-1.30/9 4.8s} 51. d3 {92s} Ne5 {+0.28/8 4.5s} 52. Be4 {61s} Rb5 {-1.03/7 4.3s} 53. f4 {10s} Nd7 {-0.89/8 4.1s} 54. Bc6 {15s} Rb3 {-0.80/8 4.0s} 55. e4 {33s} Nf6 {-1.00/7 3.9s} 56. e5 {14s} Kc7 {-0.54/8 3.7s} 57. exf6 {23s} c4 {-3.95/7 3.6s} 58. f7 {8.9s} Ra3+ {-3.11/8 3.6s} 59. Kb2 {3.7s} c3+ {-7.03/8 3.5s} 60. Kxa3 {2.4s} c2 {-15.17/9 3.4s} 61. Kb2 {6.0s} c1=N {-15.17/8 3.3s} 62. f8=Q {38s} Nxd3+ {-14.48/8 3.2s} 63. Rxd3 {3.7s} Kxc6 {+M5/8 3.1s} 64. Qc8+ {3.1s} Kb5 {+M5/8 3.1s} 65. Rb3+ {1.7s} Ka5 {+M3/9 3.1s} 66. Qc5+ {16s} Ka4 {+M1/9 3.0s} 67. Qa3# {2.0s, White mates} 1-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant