RuyDos publicly available

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

AlvaroBegue
Posts: 931
Joined: Tue Mar 09, 2010 3:46 pm
Location: New York
Full name: Álvaro Begué (RuyDos)

RuyDos publicly available

Post by AlvaroBegue »

Hi,

I am making RuyDos publicly available: https://bitbucket.org/alonamaloh/ruydos

There are two things I would like help with:
1) Does it work for you? In particular I am curious if the Windows version works, because I don't have Windows anywhere and I compiled it from Linux.
2) What kind of license should I release it under? I want to be about as permissive as possible. Not that I expect anyone will really try to do anything with the code, since it's probably 700 Elo points weaker than the top programs.

Any other feedback is welcome.

Thanks!
Dann Corbit
Posts: 12542
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: RuyDos publicly available

Post by Dann Corbit »

The windows version does work, but it segfaults when I build it using mingw g++ (64 bit) and the following commands:

g++ main.cpp uci.cpp engine.cpp magics.cpp board.cpp hash.cpp square_piece_tables.cpp windows_platform.cpp sorted_generator.cpp -Wall -Wextra -pedantic -std=c++11 -o ruy.exe -O3 -flto -static

g++ main.cpp uci.cpp engine.cpp magics.cpp board.cpp hash.cpp square_piece_tables.cpp windows_platform.cpp sorted_generator.cpp -Wall -Wextra -pedantic -std=c++11 -o ruy_sse42.exe -O3 -flto -static -msse4.2

dcorbit@dcorbit MINGW64 /f/project/dcorbit/ruydos
$ ./ruy.exe
Segmentation fault

dcorbit@dcorbit MINGW64 /f/project/dcorbit/ruydos
$ ./ruy_sse42.exe
Segmentation fault

Your builds seem fine, though.

Code: Select all

F:\project\dcorbit\ruydos>ruy
uci
id name RuyDos
id author Alvaro Begue & Jose Manuel Moran
uciok
ucinewgame
go infinite
info depth 1 nodes 1 score cp -5 time 0 nps 23092 pv f2f4
info depth 1 nodes 3 score cp 14 time 1 nps 2058 pv b1a3
info depth 1 nodes 5 score cp 37 time 3 nps 1921 pv b1c3
info depth 1 nodes 22 score cp 37 time 4 nps 5875 pv b1c3
info depth 2 nodes 45 score cp 21 time 5 nps 9082 pv b1c3 b8c6
info depth 2 nodes 74 score cp 21 time 7 nps 11307 pv b1c3 b8c6
info depth 3 nodes 145 score cp 37 time 8 nps 18354 pv b1c3 b8c6 g1f3
info depth 3 nodes 180 score cp 37 time 9 nps 18985 pv b1c3 b8c6 g1f3
info depth 4 nodes 277 score cp 21 time 11 nps 24732 pv b1c3 b8c6 g1f3 g8f6
info depth 4 nodes 661 score cp 22 time 13 nps 50596 pv d2d4 b8c6 c1f4 g8f6
info depth 4 nodes 1306 score cp 23 time 15 nps 86722 pv e2e3 b8c6 f1c4 g8f6
info depth 4 nodes 1332 score cp 23 time 17 nps 79607 pv e2e3 b8c6 f1c4 g8f6
info depth 5 nodes 2794 score cp 29 time 19 nps 145905 pv e2e3 b8c6 f1e2 g8f6 b1c3
info depth 5 nodes 2974 score cp 29 time 21 nps 140948 pv e2e3 b8c6 f1e2 g8f6 b1c3
info depth 6 nodes 4680 score cp 21 time 24 nps 197229 pv e2e3 b8c6 f1d3 e7e6
info depth 6 nodes 11796 score cp 21 time 29 nps 409167 pv e2e3 b8c6 f1d3 e7e6
info depth 7 nodes 17556 score cp 27 time 33 nps 525483 pv e2e3 d7d5 f1d3 e7e5 b1c3 e5e4 d3e2
info depth 7 nodes 19981 score cp 27 time 37 nps 539401 pv e2e3 d7d5 f1d3 e7e5 b1c3 e5e4 d3e2
info depth 8 nodes 32516 score cp 15 time 45 nps 720488 pv e2e3 b8c6 g1f3 e7e6 b1c3 g8f6 f1d3 f8d6
info depth 8 nodes 53210 score cp 17 time 57 nps 930947 pv b1c3 e7e6 d2d4 f8d6 c1d2
info depth 8 nodes 61978 score cp 21 time 63 nps 980562 pv g1f3 b8c6 d2d4 e7e6 c1f4 f8d6 f4d6 c7d6
info depth 8 nodes 67140 score cp 21 time 68 nps 986043 pv g1f3 b8c6 d2d4 e7e6 c1f4 f8d6 f4d6 c7d6
info depth 9 nodes 78767 score cp 20 time 76 nps 1037912 pv g1f3 b8c6 d2d4 e7e6 c1f4 f8d6 f4d6 c7d6 d4d5 c6b4
info depth 9 nodes 91790 score cp 20 time 85 nps 1079274 pv g1f3 b8c6 d2d4 e7e6 c1f4 f8d6 f4d6 c7d6 d4d5 c6b4
info depth 10 nodes 142175 score cp 16 time 112 nps 1274849 pv g1f3 b8c6 b1c3 g8f6
info depth 10 nodes 202892 score cp 16 time 142 nps 1426097 pv g1f3 b8c6 b1c3 g8f6
info depth 11 nodes 294284 score cp 15 time 188 nps 1569181 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 g8f6 f1d3 f6e4 d3e4
info depth 11 nodes 463567 score cp 25 time 270 nps 1715669 pv b1c3 b8c6 d2d4 g8f6 d4d5 c6e5 g1f3 d7d6 c1f4 e5c4 d1c1
info depth 11 nodes 509219 score cp 25 time 294 nps 1730373 pv b1c3 b8c6 d2d4 g8f6 d4d5 c6e5 g1f3 d7d6 c1f4 e5c4 d1c1
info depth 12 nodes 896485 score cp 12 time 494 nps 1816124 pv b1c3 d7d5 d2d4 g8f6 c1f4 c8f5 e2e3 e7e6 f1d3 f8d6 f4d6 f5d3
info depth 12 nodes 1007274 score cp 16 time 556 nps 1813177 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 e7e6 f1e2 f8d6 f4d6
info depth 12 nodes 1533507 score cp 16 time 816 nps 1879093 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 e7e6 f1e2 f8d6 f4d6
info depth 13 nodes 1836324 score cp 25 time 963 nps 1907692 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 g8f6 f1b5
info depth 13 nodes 2079200 score cp 25 time 1079 nps 1926576 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 g8f6 f1b5
info depth 14 nodes 3551927 score cp 15 time 1820 nps 1951828 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 e7e6 f1b5 f8d6 b5c6 b7c6 f3e5 d6e5 f4e5 g8f6 b1d2
^C
F:\project\dcorbit\ruydos>ruy_sse42.exe
uci
id name RuyDos
id author Alvaro Begue & Jose Manuel Moran
uciok
ucinewgame
go infinite
info depth 1 nodes 1 score cp -5 time 0 nps 20509 pv f2f4
info depth 1 nodes 3 score cp 14 time 2 nps 1765 pv b1a3
info depth 1 nodes 5 score cp 37 time 3 nps 1485 pv b1c3
info depth 1 nodes 22 score cp 37 time 8 nps 2731 pv b1c3
info depth 2 nodes 45 score cp 21 time 12 nps 3888 pv b1c3 b8c6
info depth 2 nodes 74 score cp 21 time 18 nps 4090 pv b1c3 b8c6
info depth 3 nodes 145 score cp 37 time 22 nps 6737 pv b1c3 b8c6 g1f3
info depth 3 nodes 180 score cp 37 time 25 nps 7167 pv b1c3 b8c6 g1f3
info depth 4 nodes 277 score cp 21 time 28 nps 9759 pv b1c3 b8c6 g1f3 g8f6
info depth 4 nodes 661 score cp 22 time 35 nps 18709 pv d2d4 b8c6 c1f4 g8f6
info depth 4 nodes 1306 score cp 23 time 39 nps 33582 pv e2e3 b8c6 f1c4 g8f6
info depth 4 nodes 1332 score cp 23 time 42 nps 31680 pv e2e3 b8c6 f1c4 g8f6
info depth 5 nodes 2794 score cp 29 time 46 nps 60747 pv e2e3 b8c6 f1e2 g8f6 b1c3
info depth 5 nodes 2974 score cp 29 time 52 nps 56725 pv e2e3 b8c6 f1e2 g8f6 b1c3
info depth 6 nodes 4680 score cp 21 time 57 nps 82629 pv e2e3 b8c6 f1d3 e7e6
info depth 6 nodes 11796 score cp 21 time 62 nps 190051 pv e2e3 b8c6 f1d3 e7e6
info depth 7 nodes 17556 score cp 27 time 66 nps 266788 pv e2e3 d7d5 f1d3 e7e5 b1c3 e5e4 d3e2
info depth 7 nodes 19981 score cp 27 time 71 nps 281055 pv e2e3 d7d5 f1d3 e7e5 b1c3 e5e4 d3e2
info depth 8 nodes 32516 score cp 15 time 78 nps 415663 pv e2e3 b8c6 g1f3 e7e6 b1c3 g8f6 f1d3 f8d6
info depth 8 nodes 53210 score cp 17 time 88 nps 603283 pv b1c3 e7e6 d2d4 f8d6 c1d2
info depth 8 nodes 61978 score cp 21 time 93 nps 664394 pv g1f3 b8c6 d2d4 e7e6 c1f4 f8d6 f4d6 c7d6
info depth 8 nodes 67140 score cp 21 time 99 nps 680549 pv g1f3 b8c6 d2d4 e7e6 c1f4 f8d6 f4d6 c7d6
info depth 9 nodes 78767 score cp 20 time 105 nps 748829 pv g1f3 b8c6 d2d4 e7e6 c1f4 f8d6 f4d6 c7d6 d4d5 c6b4
info depth 9 nodes 91790 score cp 20 time 116 nps 793703 pv g1f3 b8c6 d2d4 e7e6 c1f4 f8d6 f4d6 c7d6 d4d5 c6b4
info depth 10 nodes 142175 score cp 16 time 136 nps 1047212 pv g1f3 b8c6 b1c3 g8f6
info depth 10 nodes 202892 score cp 16 time 159 nps 1278359 pv g1f3 b8c6 b1c3 g8f6
info depth 11 nodes 294284 score cp 15 time 193 nps 1525839 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 g8f6 f1d3 f6e4 d3e4
info depth 11 nodes 463567 score cp 25 time 256 nps 1810368 pv b1c3 b8c6 d2d4 g8f6 d4d5 c6e5 g1f3 d7d6 c1f4 e5c4 d1c1
info depth 11 nodes 509219 score cp 25 time 275 nps 1853221 pv b1c3 b8c6 d2d4 g8f6 d4d5 c6e5 g1f3 d7d6 c1f4 e5c4 d1c1
info depth 12 nodes 896485 score cp 12 time 418 nps 2143616 pv b1c3 d7d5 d2d4 g8f6 c1f4 c8f5 e2e3 e7e6 f1d3 f8d6 f4d6 f5d3
info depth 12 nodes 1007274 score cp 16 time 461 nps 2187245 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 e7e6 f1e2 f8d6 f4d6
info depth 12 nodes 1533507 score cp 16 time 650 nps 2358218 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 e7e6 f1e2 f8d6 f4d6
info depth 13 nodes 1836324 score cp 25 time 761 nps 2413116 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 g8f6 f1b5
info depth 13 nodes 2079200 score cp 25 time 849 nps 2449360 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 g8f6 f1b5
info depth 14 nodes 3551927 score cp 15 time 1379 nps 2574939 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 e7e6 f1b5 f8d6 b5c6 b7c6 f3e5 d6e5 f4e5 g8f6 b1d2
info depth 14 nodes 8153651 score cp 15 time 3021 nps 2699253 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 e7e6 f1b5 f8d6 b5c6 b7c6 f3e5 d6e5 f4e5 g8f6 b1d2
info depth 15 nodes 9495784 score cp 15 time 3498 nps 2714287 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 e7e6 f1b5 f8d6 b5c6 b7c6 b1d2 g8f6 f3e5 d6e5 f4e5 e8g8
info depth 15 nodes 11324112 score cp 15 time 4151 nps 2728132 pv g1f3 b8c6 d2d4 d7d5 c1f4 c8f5 e2e3 e7e6 f1b5 f8d6 b5c6 b7c6 b1d2 g8f6 f3e5 d6e5 f4e5 e8g8
^C
F:\project\dcorbit\ruydos>

Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Dann Corbit
Posts: 12542
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: RuyDos publicly available

Post by Dann Corbit »

GPL license forces the users to release the modified code.

BSD license allows them to hide their changes, but they must give credit.

Public Domain (or "Creative Commons" in Europe) allows just about anything (including not even giving you credit for your work).

There are other variants as well. You should choose the one that you like best.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
AlvaroBegue
Posts: 931
Joined: Tue Mar 09, 2010 3:46 pm
Location: New York
Full name: Álvaro Begué (RuyDos)

Re: RuyDos publicly available

Post by AlvaroBegue »

Dann, thanks a lot for your feedback. I am afraid I can't debug what I can't reproduce. What version of g++ are you using?
Dirt
Posts: 2851
Joined: Wed Mar 08, 2006 10:01 pm
Location: Irvine, CA, USA

Re: RuyDos publicly available

Post by Dirt »

Dann Corbit wrote:GPL license forces the users to release the modified code.

BSD license allows them to hide their changes, but they must give credit.

Public Domain (or "Creative Commons" in Europe) allows just about anything (including not even giving you credit for your work).

There are other variants as well. You should choose the one that you like best.
The BSD license comes in two, three and four paragraph forms.

The MIT license is apparently slightly more permissive than all of the BSD ones.
Deasil is the right way to go.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: RuyDos publicly available

Post by MikeB »

Very nice - this is the macOS flavor playing against McBrain ( a stockfish engine) with UCI Limit Strength set to 2700 (about 30,000 nps) The Cerebellum book happened to be on for McBrain. Run was getting over 4 million nps in the endgame on my machine.

In game 2, Ruy nice come from behind win. MCBrain was playing at the same setting of 2700.
Click on the ellipsis ( 3 dots upper left) for the pulldown to both games.

[pgn][Event "Mac Pro x5690 3.46 Ghz 18 CPU"]
[Site "Mac-Pro.local"]
[Date "2017.06.01"]
[Round "-"]
[White "RuyDos"]
[Black "McBrain 2.4d 64 POPCNT"]
[Result "0-1"]
[TimeControl "60+1"]
[Annotator "1. +0.15 12... +0.78"]

1. Nf3 {+0.15/14 +58} d5 2. d4 {+0.11/14 +57} Nf6 3. Bf4 {+0.11/13 +57} c5
4. dxc5 {+0.42/12 +57} Nc6 5. c3 {+0.34/13 +56} e6 6. b4 {+0.28/14 +55} a5
7. b5 {+0.26/14 +54} Ne7 8. Qa4 {+0.35/13 +54} Ne4 9. c6 {+0.23/14 +53}
bxc6 10. bxc6 {-0.19/14 +53} Qb6 11. Nd4 {-0.01/15 +48} Ng6 12. Be3
{+0.21/15 +46} Qb2 {+0.78/9 +67} 13. Nb3 {+0.23/15 +46} h6 {+0.69/10 +65}
14. g3 {+0.31/12 +45} Bd6 {+0.76/10 +63} 15. Bg2 {+0.13/14 +43} f5
{+0.30/9 +61} 16. Bxe4 {+1.11/12 +42} fxe4 {-0.17/10 +59} 17. Bc1
{+0.92/14 +40} Qc2 {-0.29/11 +57} 18. Na3 {+0.80/13 +40} Qxc3+
{+0.10/10 +55} 19. Bd2 {+0.79/17 +37} Qf6 {+0.00/10 +53} 20. Nb5
{+0.83/16 +32} e5 {+0.07/11 +51} 21. Nxa5 {+0.98/15 +28} O-O {-0.08/11 +49}
22. Qb3 {+0.61/14 +27} Qxf2+ {+0.39/10 +47} 23. Kd1 {-1.07/1 +28} Bc5
{+0.56/10 +45} 24. Qxd5+ {+0.37/12 +28} Kh7 {+0.60/9 +43} 25. Re1
{+0.19/12 +27} Ne7 {+1.03/10 +41} 26. Qxe4+ {+0.46/13 +27} Bf5
{+1.61/9 +39} 27. Qh1 {+0.00/14 +23} Bb4 {+3.64/10 +36} 28. Bxb4
{-1.21/14 +23} Rfd8+ {+5.69/10 +34} 29. Kc1 {-4.55/15 +23} Qe3+
{+7.21/13 +32} 30. Kb2 {-1000.08/17 +22} Rd2+ {+7.58/14 +30} 31. Bxd2
{-1000.07/16 +22} Qxd2+ {+7.78/12 +28} 32. Kb3 {-1000.06/15 +22} Rxa5
{+7.68/12 +27} 33. Nc3 {-1000.05/15 +22} Bc2+ {+1000.05/12 +26} 34. Kb4
{-1000.04/23 +22} Ra4+ {+1000.04/17 +25} 35. Kb5 {-1000.03/63 +22} Qxc3
{+1000.03/24 +24} 36. Kb6 {-1000.02/63 +23} Qa5+ {+1000.02/27 +23} 37. Kb7
{-1.07/1 +24} Rb4# {+1000.01/127 +22}
{Black mates} 0-1

[Event "Mac Pro x5690 3.46 Ghz 18 CPU"]
[Site "Mac-Pro.local"]
[Date "2017.06.01"]
[Round "-"]
[White "RuyDos"]
[Black "McBrain 2.4d 64 POPCNT"]
[Result "1-0"]
[TimeControl "60+1"]
[Annotator "1. +0.15 7... -0.14"]

1. Nf3 {+0.15/14 +58} d5 2. Nc3 {+0.12/13 +57} Nf6 3. d4 {+0.03/13 +57} e6
4. a3 {+0.17/13 +56} c5 5. Bf4 {+0.15/12 +56} a6 6. e3 {+0.30/12 +56} b5 7.
Be2 {+0.52/11 +55} Nc6 {-0.14/12 +64} 8. h3 {+0.29/11 +54} Be7 9. O-O
{+0.23/12 +52} O-O {-0.04/13 +63} 10. dxc5 {+0.19/12 +52} Bxc5
{+0.00/12 +62} 11. Qd2 {+0.14/13 +51} Bb7 {+0.12/12 +61} 12. Qd3
{+0.07/12 +49} Re8 {+0.43/11 +60} 13. Bg5 {-0.03/12 +48} h6 {+0.97/12 +59}
14. Bh4 {-0.08/12 +48} g5 {+1.26/13 +58} 15. b4 {-0.53/15 +48} Bd6
{+1.74/13 +56} 16. Bg3 {-0.59/16 +47} Bxg3 {+0.95/13 +54} 17. fxg3
{-0.55/16 +46} Rc8 {+0.88/12 +52} 18. e4 {-0.46/12 +44} g4 {+1.22/11 +50}
19. hxg4 {-0.44/14 +43} d4 {+1.07/13 +48} 20. Nd1 {-0.42/15 +43} Nxg4
{+0.67/13 +46} 21. Qd2 {-0.47/16 +40} Qb6 {+0.37/14 +43} 22. Bd3
{-0.26/13 +40} e5 {+0.34/13 +41} 23. Nh2 {-0.33/15 +39} Nxh2 {+0.65/12 +39}
24. Kxh2 {-0.35/16 +37} Na7 {+0.47/13 +37} 25. Qe2 {-0.35/15 +34} Qg6
{+0.56/12 +36} 26. Nf2 {-0.38/14 +33} Re6 {+0.44/13 +34} 27. Qg4
{-0.35/15 +29} Kg7 {+0.51/12 +33} 28. Qh4 {-0.28/14 +28} f6 {+0.45/11 +31}
29. Ng4 {-0.28/12 +28} h5 {+0.93/12 +30} 30. Nf2 {-0.23/14 +27} Rh8
{+0.84/12 +29} 31. Kg1 {-0.29/13 +26} Nc8 {+0.83/12 +28} 32. a4
{-0.36/14 +25} Rc6 {+0.80/12 +27} 33. axb5 {-0.02/16 +22} axb5
{+0.29/13 +26} 34. Bxb5 {-0.04/16 +20} Rb6 {+0.08/13 +25} 35. Be2
{+0.17/16 +12} Nd6 {-0.09/12 +24} 36. Ra7 {+0.13/16 +11} Rxb4
{-0.23/11 +23} 37. Nd3 {+0.36/14 +11} Rb5 {-0.68/13 +22} 38. Nf4
{+0.58/14 +11} exf4 {-0.81/14 +20} 39. Bxb5 {+0.85/14 +11} Qxe4
{-0.80/13 +19} 40. Qh3 {+1.19/14 +9} Ra8 {-1.32/11 +18} 41. Rxa8
{+1.38/13 +9} Bxa8 {-1.92/12 +17} 42. Rxf4 {+1.60/14 +10} Qxg2+
{-2.12/13 +16} 43. Qxg2 {+0.81/1 +11} Bxg2 {-2.41/15 +15} 44. Bd3
{+2.19/18 +11} Bh3 {-2.56/14 +14} 45. Rxd4 {+2.39/19 +11} Nf7
{-2.71/13 +13} 46. Be2 {+2.41/20 +11} Bf5 {-2.68/13 +12} 47. c4
{+2.40/20 +11} Bg4 {-3.32/12 +11} 48. Bxg4 {+3.51/19 +11} hxg4
{-3.94/14 +10} 49. c5 {+4.09/22 +12} Ne5 {-4.30/11 +10} 50. Rd6
{+4.71/23 +11} Nc4 {-4.79/12 +10} 51. Rd7+ {+4.99/23 +11} Kf8
{-6.51/13 +10} 52. c6 {+5.15/26 +11} Ne5 {-7.95/12 +10} 53. Rd8+
{+6.69/20 +3} Ke7 {-10.83/11 +10} 54. c7 {+6.69/19 +1} Nf7 {-10.61/11 +10}
55. Rd1 {+10.32/19 +1} Nd6 {-15.69/11 +10} 56. Rxd6 {+11.60/19 +1} Kxd6
{-51.03/13 +10} 57. c8=Q {+15.92/18 +1} Ke7 {-128.51/13 +10} 58. Qxg4
{+16.08/16 +2} Kf7 {-128.51/13 +10} 59. Qf5 {+16.40/16 +2} Ke7
{-128.51/13 +10} 60. g4 {+1049.84/16 +3} Kd6 {-1000.09/13 +10} 61. Qxf6+
{+1049.84/15 +1} Kc5 {-1000.07/15 +10} 62. Qf4 {+1002.50/13 +1} Kb6
{-1000.08/15 +9} 63. Qe5 {+1002.50/12 +1} Kc6 {-1000.08/16 +9} 64. g5
{+1002.50/12 +1} Kb6 {-1000.05/19 +9} 65. Qd5 {+1002.50/11 +2} Kc7
{-1000.05/20 +9} 66. Qc5+ {+1002.50/12 +2} Kd7 {-1000.06/17 +9} 67. Qb6
{+1002.50/12 +2} Ke7 {-1000.04/21 +9} 68. Qa7+ {+1002.50/12 +3} Ke6
{-1000.06/12 +9} 69. Qa5 {+1002.50/12 +4} Kf7 {-1000.07/14 +9} 70. Qf5+
{+1002.50/12 +4} Ke8 {-1000.05/20 +9} 71. g6 {+1002.50/11 +4} Ke7
{-1000.04/22 +9} 72. g7 {+1000.04/15 +5} Kd6 {-1000.03/33 +9} 73. g8=Q
{+1000.03/63 +6} Kc6 {-1000.02/43 +9} 74. Qgc8+ {+1000.02/63 +6} Kd6
{-1000.01/81 +9} 75. Qcc5# {+1000.01/63 +7}
{White mates} 1-0


[/pgn]

Earlier I had matched it with the ELO set to 2500 (about 7500 nps), Ruy had won that game.
Dann Corbit
Posts: 12542
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: RuyDos publicly available

Post by Dann Corbit »

Dirt wrote:
Dann Corbit wrote:GPL license forces the users to release the modified code.

BSD license allows them to hide their changes, but they must give credit.

Public Domain (or "Creative Commons" in Europe) allows just about anything (including not even giving you credit for your work).

There are other variants as well. You should choose the one that you like best.
The BSD license comes in two, three and four paragraph forms.

The MIT license is apparently slightly more permissive than all of the BSD ones.
Mozilla is similar to the MIT and BSD license.

Some excellent projects of different types:

Public Domain:
Ivanhoe Chess Engine
SQLite database

GPL:
Stockfish Chess engine
MariaDB database

Berkeley/Mozilla type:
PostgreSQL database
Arasan Chess Engine
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
AlvaroBegue
Posts: 931
Joined: Tue Mar 09, 2010 3:46 pm
Location: New York
Full name: Álvaro Begué (RuyDos)

Re: RuyDos publicly available

Post by AlvaroBegue »

I'm going to go with the MIT license. Thanks a lot for the explanations.
Dann Corbit
Posts: 12542
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: RuyDos publicly available

Post by Dann Corbit »

AlvaroBegue wrote:Dann, thanks a lot for your feedback. I am afraid I can't debug what I can't reproduce. What version of g++ are you using?
Mingw (Msys) 6.3.0
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Dann Corbit
Posts: 12542
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: RuyDos publicly available

Post by Dann Corbit »

Dann Corbit wrote:
AlvaroBegue wrote:Dann, thanks a lot for your feedback. I am afraid I can't debug what I can't reproduce. What version of g++ are you using?
Mingw (Msys) 6.3.0
I can step into it with GDB and figure it out.
It looks like an interesting project.

You get fantastic NPS and depth, though I am not too keen on the first move choices it selects from the opening position.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.