Search found 90 matches

by mvanthoor
Sat Apr 04, 2020 7:15 pm
Forum: Computer Chess Club: General Topics
Topic: An idea to kill draws in computer chess by different rules
Replies: 14
Views: 360

Re: An idea to kill draws in computer chess by different rules

I agree that a perfectly played game should be a draw. The problem is that with current rules, one player must make either several mistakes or one very big mistake to lose. Ideally any mistake should lose, a draw should result only from ideal play which no one should ever be able to achieve. Or at ...
by mvanthoor
Sat Apr 04, 2020 3:54 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Count the number of nodes of perft(14) and beyond
Replies: 5
Views: 206

Re: Count the number of nodes of perft(14) and beyond

Newer programming languages such as Rust actually provide u128.
by mvanthoor
Sat Apr 04, 2020 3:50 pm
Forum: Computer Chess Club: General Topics
Topic: An idea to kill draws in computer chess by different rules
Replies: 14
Views: 360

Re: An idea to kill draws in computer chess by different rules

To be honest, I think it is somewhat convoluted. It seems the only way to make chess harder for computers is to make it also harder for humans. I've always wondered at the simplicty of Go as compared to chess: The rules (except for some very special situations, I think these are all of them...) - Yo...
by mvanthoor
Fri Apr 03, 2020 1:54 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hash entry/bucket memory usage optimization
Replies: 7
Views: 452

Re: Hash entry/bucket memory usage optimization

Yes. At some point I'll be implementing such enhancements in the move generator, but that will be somewhere down the line :)
by mvanthoor
Thu Apr 02, 2020 7:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hash entry/bucket memory usage optimization
Replies: 7
Views: 452

Re: Hash entry/bucket memory usage optimization

Thanks for the extra tests chrisw. I added them to my perft suite. (I assume the very large chunk is the well-known perftsuite.epd, as I've sampled a few and I already had them all.) All of the extra tests such as "double check", "castling gives check" etc run just fine.
by mvanthoor
Tue Mar 31, 2020 8:22 pm
Forum: Computer Chess Club: General Topics
Topic: Minic version 2
Replies: 12
Views: 685

Re: Minic version 2

Congrats :) Maybe a suggestion which is used in Rust (and in the Stash engine as well). It can be beneficial to put your header files in an "include" folder, and your source files in an "src" folder; even dividing the src folder into multiple subfolders, where you gather modules that belong together...
by mvanthoor
Tue Mar 31, 2020 10:49 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Minic raw speed
Replies: 29
Views: 4234

Re: Minic raw speed

Back on the same subject ... In fact Minic has less cache misses and less branch prediction misses than stockfish ... Perft 6 of start pos in 4.7sec, so move gen + copy make at 25Mnps .... probably not the issue It depends on the speed of your CPU. Perft 6 from the starting position runs at 4.4 sec...
by mvanthoor
Tue Mar 31, 2020 7:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hash entry/bucket memory usage optimization
Replies: 7
Views: 452

Re: Hash entry/bucket memory usage optimization

I prefer a custom set of artificial positions that test most of the movegen gotchas that can be validated instantly at much lower depths. As said: I ran the entire perftsuite.epd file (in which I've included all the positions on this page: https://www.chessprogramming.org/Perft_Results), and they a...
by mvanthoor
Mon Mar 30, 2020 11:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hash entry/bucket memory usage optimization
Replies: 7
Views: 452

Hash entry/bucket memory usage optimization

Hello again :) Thanks for the assistance in the other topic with regard to getting the hash table working. I've now been trying to optimize the memory usage of the entries. Before, an entry looked like this: zobrist_key: u64 leaf_nodes: u64 depth: u8 17 bytes, which Rusts pads to 24 (next multiple o...
by mvanthoor
Mon Mar 30, 2020 5:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Engines playing Musketeer Chess, good price
Replies: 137
Views: 15298

Re: Engines playing Musketeer Chess, good price

Years ago I was looking into other games besides chess. I also tried Arimaa for a time, but ended up not liking it. Too positional, not enough tactics. I love tactical positions with sacrifices that make the position explode and end the game with a bang. Arimaa doesn't give you a lot of tools to mak...