Search found 3028 matches

by lucasart
Tue May 12, 2020 6:09 am
Forum: Computer Chess Club: General Topics
Topic: Banksia GUI released
Replies: 1032
Views: 149370

Re: Banksia GUI released

Hi all, I am glad to release my new program: Banksia GUI - a chess GUI. It is totally freeware and can run in almost all major operating systems, can do almost all typical tasks of a chess GUI. Just list a few features: Support both UCI and WinBoard protocols Can play all types of games (human-huma...
by lucasart
Tue May 12, 2020 4:32 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess960 / Fischer Random Perft Wiki Results
Replies: 18
Views: 2397

Re: Chess960 / Fischer Random Perft Wiki Results

Stockfish 11 disagrees with some of the results reported at https://www.chessprogramming.org/Chess960_Perft_Results That's because you're doing something wrong! Can you figure it out? Hint: do you SF expect to know that you are giving a Chess960 fen? True. But that's because the SF implementation o...
by lucasart
Tue May 05, 2020 4:09 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SAN encoding test
Replies: 4
Views: 847

SAN encoding test

Does anyone have a good test suite for SAN encoding ? I need (FEN, LAN, SAN) triplets to verify my SAN encoding including all the tricky corner cases.
by lucasart
Fri May 01, 2020 11:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: C/C++ client UCI example
Replies: 8
Views: 1413

Re: C/C++ client UCI example

I am seeking simple sample code for accessing and controlling a UCI chess program (Stockfish) from C or C++ on Unix/Linux/MacOS. I realize this code is somewhere in the big chess GUIs but I was hoping for a smaller and more self-contained example. Boiler-plate code for POSIX systems (eg. Linux, Mac...
by lucasart
Mon Apr 13, 2020 1:22 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Compiler Optimization Question
Replies: 27
Views: 2380

Re: Compiler Optimization Question

A really large function has many local variables and accesses many global variables. Will modern compilers be able to optimize register usage effectively or is it better to break up the large function into a few subfunctions with fewer variables so the compiler can better optimize register usage? I...
by lucasart
Mon Feb 24, 2020 11:12 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: EPD destruction tests
Replies: 81
Views: 7645

Re: EPD destruction tests

And more cases of broken castlings positions, not covered by the list from Chris, which Demolito still fails to detect: krr5/8/8/8/8/8/8/4K3 w kq - 0 1; two castling rooks on same side of black king krr5/8/8/8/8/8/8/4K3 w bc - 0 1; same as above Shredder-FEN version r3k2r/8/8/8/8/8/8/4K3 w bg - 0 1...
by lucasart
Sun Feb 23, 2020 2:12 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: EPD destruction tests
Replies: 81
Views: 7645

Re: EPD destruction tests

And more cases of broken castlings positions, not covered by the list from Chris, which Demolito still fails to detect: krr5/8/8/8/8/8/8/4K3 w kq - 0 1; two castling rooks on same side of black king krr5/8/8/8/8/8/8/4K3 w bc - 0 1; same as above Shredder-FEN version r3k2r/8/8/8/8/8/8/4K3 w bg - 0 1...
by lucasart
Sat Feb 22, 2020 8:45 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: EPD destruction tests
Replies: 81
Views: 7645

Re: EPD destruction tests

First two are NOT correct. White or black can never have more that 16 pieces counting king. Not 17 or 18. The rules of chess say 16 pieces. 8 pawns, two rooks, bishops and knights, queen and king. The pawns can promote into 8 pieces excluding kings So 16 is it unless you are doing non-chess. For th...
by lucasart
Sat Feb 22, 2020 4:48 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: EPD destruction tests
Replies: 81
Views: 7645

Re: EPD destruction tests

First two are NOT correct. White or black can never have more that 16 pieces counting king. Not 17 or 18. The rules of chess say 16 pieces. 8 pawns, two rooks, bishops and knights, queen and king. The pawns can promote into 8 pieces excluding kings So 16 is it unless you are doing non-chess. For th...
by lucasart
Sat Feb 22, 2020 1:23 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: EPD destruction tests
Replies: 81
Views: 7645

Re: EPD destruction tests

Some of these are fine, and some are broken. What should engines do? What do engines do? Disclaimer/admission: my C code fails because of not much integrity testing at all, but is on the todo list. While my test engine doesn't return in any sensible time in the case of 30 queens. Meanwhile, in Pyth...