Search found 2096 matches

by cdani
Wed Nov 07, 2018 10:47 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Minimalism in chess programming
Replies: 49
Views: 9608

Re: Minimalism in chess programming

In Andscacs I tried to do most things in my own way, and once I understood about something better I tried to implement it in my own way also. For example the first move generator was scanning square after square until it found a piece or went out of the board, with a simple For. Only much later I tr...
by cdani
Mon Nov 05, 2018 8:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: LMR and sacrifices
Replies: 8
Views: 1664

Re: LMR and sacrifices

Mostly when the static evaluation compensates the material.
by cdani
Sun Oct 28, 2018 5:45 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: std::cout or printf
Replies: 27
Views: 3914

Re: std::cout or printf

I use this for Andscacs, I don't remember why:

Code: Select all

void afout(const char *fmt, ...)
{
	va_list args;
	char buffer[4096];

	va_start(args, fmt);
	vsprintf(buffer, fmt, args);
	va_end(args);

	fprintf(stdout, "%s", buffer);
	fflush(stdout);
}
by cdani
Thu Oct 18, 2018 9:28 pm
Forum: Computer Chess Club: Tournaments and Matches
Topic: CCRL 40/40, 40/4 and FRC lists updated (6th October 2018)
Replies: 10
Views: 2037

Re: CCRL 40/40, 40/4 and FRC lists updated (6th October 2018)

When I'm downloading Stockfish 270918 at: http://abrok.eu/stockfish/ what happens is that it downloads a file named stockfish_18092721_64.exe. When I double click on that file, a black window pops up saying "Stockfish 270918 64 by T. Romstad, M. Costalba, J. Kiiski, G. Linscott" and that was it. No...
by cdani
Tue Oct 02, 2018 7:14 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: what is the best free compiler to use?
Replies: 18
Views: 3450

Re: what is the best free compiler to use?

I use the free community version. The others are not.
by cdani
Mon Oct 01, 2018 3:53 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic automated testing
Replies: 13
Views: 2475

Re: Basic automated testing

I'd recommend OpenBench . Interesting, what does this OpenBench do exactly? It seems like a wrapper on top of cutechess-cli with some client-server functionality. If it allows me say to test on say two quads at the same time + gather the results then this would cut my testing time in half, which so...
by cdani
Sun Sep 30, 2018 6:24 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Saving pv to file
Replies: 2
Views: 759

Re: Saving pv to file

This version is intended for analysis, not for playing. Anyway sure can be used for playing also.
by cdani
Sun Sep 30, 2018 6:23 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Saving pv to file
Replies: 2
Views: 759

Saving pv to file

Hi. I plan to make a version of Stockfish that saves the principal variation found in a text file and then loads it again to save analysis time. It will not save the pv itself, but any move in the pv that for example is depth >= 10. The file will be like this, one position per line fen;move;depth Th...
by cdani
Fri Sep 14, 2018 8:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Minimalist UCI chess engine written by self learner from scratch
Replies: 18
Views: 2753

Re: Minimalist UCI chess engine written by self learner from scratch

When using check extension you never run into that problem at all since you never even call quiescence search when being in check. A few months ago Andscacs didn't went to quiesce in check. I changed it and was a slight improvement. I search all the evasions, so is like normal search but simplified.