Search found 3127 matches

by Sven
Mon Oct 22, 2018 9:58 pm
Forum: Computer Chess Club: General Topics
Topic: A complete 2000 lines of code engine
Replies: 14
Views: 905

Re: A complete 2000 lines of code engine

xr_a_y wrote:
Sun Oct 21, 2018 8:02 pm
Version 0.4 is available and is less stupid than the previous ones ... :lol:
Which changes were the most successful ones?
by Sven
Sat Oct 20, 2018 12:50 pm
Forum: Computer Chess Club: General Topics
Topic: A complete 2000 lines of code engine
Replies: 14
Views: 905

Re: A complete 2000 lines of code engine

The middlegame PST for kings seems to be wrong, it seems to favor moving the king to higher ranks instead of discouraging that. I may be wrong here, I just saw the PST access is reversed by this code in eval() const int s = Signs[p.b[k]+PieceShift]; Square kk = k; if ( s > 0 ) kk = 63-k; so PST[x][...
by Sven
Sat Oct 20, 2018 12:28 pm
Forum: Computer Chess Club: General Topics
Topic: A complete 2000 lines of code engine
Replies: 14
Views: 905

Re: A complete 2000 lines of code engine

The middlegame PST for kings seems to be wrong, it seems to favor moving the king to higher ranks instead of discouraging that. I do not understand your MvvLvaScores[][] array. First thing is, it has a lot of redundancy by being a 13x13 array while you only need 6x6 (or 7x7). You never have captures...
by Sven
Thu Oct 18, 2018 7:51 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: CSVN tournament, December 2 and 3 in Leiden, the Netherlands
Replies: 4
Views: 233

Re: CSVN tournament, December 1 and 2 in Leiden, the Netherlands

flok wrote:
Thu Oct 18, 2018 7:49 am
Oops! I meant 1/2 december.
Ok, that's what I thought it should be :-)

Maybe the mods could fix the thread subject?
by Sven
Thu Oct 18, 2018 7:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: CSVN tournament, December 2 and 3 in Leiden, the Netherlands
Replies: 4
Views: 233

Re: CSVN tournament, December 2 and 3 in Leiden, the Netherlands

flok wrote:
Wed Oct 17, 2018 8:04 pm
Hi,

December 2 and 3 there will be a tournament held by CSVN in Leiden, the Netherlands.
If you wrote a chess-program, you can participate!
More details follow but please put already a note in your agenda that these two dates are special :D
December 2nd/3rd is Sunday + Monday, is that intended?
by Sven
Sat Oct 13, 2018 10:10 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney October
Replies: 14
Views: 1119

Re: On-line engine blitz tourney October

Here are the Jumbo games. [Event "ICS rated blitz match"] [Site "winboard.nl"] [Date "2018.10.13"] [Round "-"] [White "Arminius"] [Black "Jumbo"] [Result "1-0"] [WhiteElo "1844"] [BlackElo "1533"] [TimeControl "300+1"] [Annotator "11... -0.02"] 1. c4 Nf6 2. Nf3 b6 3. g3 Bb7 4. Bg2 c5 5. Nc3 g6 6. O-...
by Sven
Sat Oct 13, 2018 6:01 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney October
Replies: 14
Views: 1119

Re: On-line engine blitz tourney October

Regarding strength: would it make any sense to increase the weights (i.e. the frequency of being selected randomly) of all captures, promotions and possibly also checks during a rollout? I have never tried MCTS myself but I could imagine that this might increase the probability of actually losing a ...
by Sven
Sat Oct 13, 2018 5:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney October
Replies: 14
Views: 1119

Re: On-line engine blitz tourney October

Nice work, Colin!

I found one very minor issue: when checkmating by promoting, the display does not change the pawn into the promotion piece.
by Sven
Fri Oct 12, 2018 3:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty v25.3 compile
Replies: 8
Views: 1137

Re: Crafty v25.3 compile

jdart wrote:
Fri Oct 12, 2018 1:54 pm
Re the errors about unistd.h (tbcore.c(11) for example) - that doesn't really make sense to me. In the source I have that is not included if _WIN32 is defined, and MSVC should define that by default.

--Jon
Typically Crafty includes unistd.h and other POSIX headers within #if defined(UNIX).
by Sven
Tue Oct 09, 2018 6:27 pm
Forum: Computer Chess Club: General Topics
Topic: Arasan 21.1
Replies: 20
Views: 2050

Re: Arasan 21.1

For C++ programs, I also fiddle with the C++ I/O operations like this: int main(int argc, char* argv[]) { setvbuf( stdin, NULL, _IONBF, 0 ); setvbuf( stdout, NULL, _IONBF, 0 ); std::cout.setf( std::ios::unitbuf ); // For C++ std::cin.setf( std::ios::unitbuf ); // For C++ std::cout << engine_info() ...