Search found 1961 matches

by mar
Sat Dec 07, 2019 12:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eschecs, a simple GUI written in Pascal
Replies: 45
Views: 6295

Re: Eschecs 5.0.1 released

Hello! Eschecs 5.0.1 is available . Thanks, I missed the release it seems. Playing against Moustique is ideal for me, it lets me build up an advantage and then I blunder the win away to ultimately blunder the draw and lose. I'm a very lousy player :) (Alouette seems a bit weak for me) 100px pieces ...
by mar
Sat Dec 07, 2019 12:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Include 4men syzygy in an engine
Replies: 11
Views: 864

Re: Include 4men syzygy in an engine

I've found the problem! In init_table there is this code: for (int t = 0; t < num; t++) { data = (uint8_t *)(((uintptr_t)data + 0x3f) & ~0x3f); ei[t].precomp->data = data; data += size[t][0][2]; if (split) { data = (uint8_t *)(((uintptr_t)data + 0x3f) & ~0x3f); ei[num + t].precomp->data = data; dat...
by mar
Tue Nov 26, 2019 1:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eschecs, a simple GUI written in Pascal
Replies: 45
Views: 6295

Re: Eschecs 5.0.0 beta

Oh and a bug report: when I drag the piece outside the window and then drop it to board, the GUI crashes.
more info: pick a piece, drag it outside the app window and release the button. then move the mouse cursor back to the app and click
by mar
Tue Nov 26, 2019 12:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eschecs, a simple GUI written in Pascal
Replies: 45
Views: 6295

Re: Eschecs 5.0.0 beta

Very nice, the new castling mode feels more natural. May I have some more (small) feature requests?
1) allow piece sizes up to 100px?
2) would it be possible to move the options (except for language) from options.exe directly to the GUI so that no restart is required?
by mar
Fri Nov 22, 2019 6:54 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: building the noob livebook version of Stockfish for Windows
Replies: 5
Views: 335

Re: building the noob livebook version of Stockfish for Windows

Dann Corbit wrote:
Fri Nov 22, 2019 6:13 pm
I don't suppose that there is some tool to analyze the libraries in order to determine the right order?
I don't want to try 9! possible orderings to find the right one.
The linker errors may guide you, if you get linker error for library x, push it down the link chain :)
by mar
Fri Nov 22, 2019 6:04 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: building the noob livebook version of Stockfish for Windows
Replies: 5
Views: 335

Re: building the noob livebook version of Stockfish for Windows

My experimental LDFLAGS looks like this: LDFLAGS += -lnghttp2 -lbrotlicommon-static -lz -lidn2 -lwldap32 -lcurl -lssl -lcrypto -lws2_32 $(EXTRALDFLAGS) All the libraries are found, but some must not be correct or the order is wrong. Yes, this seems to be my favorite "feature" of the insanely stupid...
by mar
Thu Nov 21, 2019 9:17 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: N-Queens in 110 languages
Replies: 7
Views: 531

Re: N-Queens in 110 languages

QB64 is a pile of junk, sorry. Simply look at what it transpiles to C for this simple proc: SUB mysub DIM a a = 10 END SUB void SUB_MYSUB(){ qbs *tqbs; ptrszint tmp_long; int32 tmp_fileno; uint32 qbs_tmp_base=qbs_tmp_list_nexti; uint8 *tmp_mem_static_pointer=mem_static_pointer; uint32 tmp_cmem_sp=cm...
by mar
Mon Nov 11, 2019 1:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eschecs, a simple GUI written in Pascal
Replies: 45
Views: 6295

Re: Eschecs, a simple GUI written in Pascal

Done. I was afraid but in fact it was not so complicated. :) if (FUserMove = 'e1g1') and FGame.IsLegal('e1h1') and FGame.IsCastling('e1h1') then FUserMove := 'e1h1'; if (FUserMove = 'e1c1') and FGame.IsLegal('e1a1') and FGame.IsCastling('e1a1') then FUserMove := 'e1a1'; if (FUserMove = 'e8g8') and ...
by mar
Mon Nov 11, 2019 12:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eschecs, a simple GUI written in Pascal
Replies: 45
Views: 6295

Re: Eschecs, a simple GUI written in Pascal

Very nice, thanks.
Would it be possible to also support castling (say in orthodox mode) by moving the king to the target position? KxR is fine, sure, but...