Search found 882 matches

by Ras
Wed Oct 16, 2019 5:23 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: PGN standard, its improvement and standardization
Replies: 51
Views: 3309

Re: PGN standard, its improvement and standardization

Dann Corbit wrote:
Wed Oct 16, 2019 4:10 pm
For game play, thé Xboard protocol isn't just better, it's a lot better.
Then that massive advantage explains why all of the top engines are CECP engines. Oh, wait...
by Ras
Wed Oct 16, 2019 3:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: PGN standard, its improvement and standardization
Replies: 51
Views: 3309

Re: PGN standard, its improvement and standardization

For very high speed games, sending only the move is a lot better than sending the whole game state including the board. The moves aren't being sent over a 300 baud line, so "a lot better" doesn't hold water. If you care about I/O speed, drop the scanf family on the input and use fread directly. Als...
by Ras
Sun Sep 22, 2019 1:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney July
Replies: 62
Views: 9818

Re: On-line engine blitz tourney July

That should be undefined behaviour, and it has always been. Especially the GCC team is well-known to have taken an ever more aggressive stance towards undefined behaviour. If the code is broken, then each GCC update will increase the odds of actually manifesting the code issues.
by Ras
Sat Sep 07, 2019 10:18 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 35
Views: 4178

Re: Back To The Beginning

My new chess engine has no evaluation function and therefore move generation speed becomes more important. Not having an evaluation function? So it just generates moves, searches through trees, and then doesn't evaluate them? Did you actually benchmark how much time the move generation takes? I don...
by Ras
Sat Sep 07, 2019 9:10 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Back To The Beginning
Replies: 35
Views: 4178

Re: Back To The Beginning

I'd not use assembly because porting that needs separate code paths for each CPU architecture. E.g. how would you make an Android version? It's also not particularly useful because the move generator doesn't take a significant amount of time anyway.
by Ras
Fri Aug 23, 2019 1:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Sending pure comments using UCI protocol
Replies: 9
Views: 1344

Re: Sending pure comments using UCI protocol

But the problem is that 'info string' is used both for messages you want to communicate to the user, as for extra output that is given in response to the 'debug' option being 'on' (and which you would likely want to appear only in some log). IMHO, this is a feature, not a problem. If a user encount...
by Ras
Thu Aug 22, 2019 5:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Sending pure comments using UCI protocol
Replies: 9
Views: 1344

Re: Sending pure comments using UCI protocol

Maybe a info comments .... sequence could be helpful in the protocol ? The "info string" sequence already allows any free form comments. If the issue is that the GUI shall not evaluate the strings in any way, the easiest solution would be not to send them. Extending UCI is pretty much out of questi...
by Ras
Wed Aug 21, 2019 2:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Sending pure comments using UCI protocol
Replies: 9
Views: 1344

Re: Sending pure comments using UCI protocol

Because I am a little scared by the following specification * if the engine or the GUI receives an unknown command or token it should just ignore it and try to parse the rest of the string. "unknown command" refers to a full line ? or just a word ? The very next line in the UCI spec holds the answe...
by Ras
Sun Aug 11, 2019 1:23 pm
Forum: Computer Chess Club: General Topics
Topic: Chess for Android: Quick Castling/En-passant
Replies: 7
Views: 1136

Re: Chess for Android: Quick Castling/En-passant

I actually implemented it this way on purpose, since these are the official FIDE rules. For castling yes. But for capturing a piece, you can take first the piece and then place your own piece. It's just that the touch-move rule applies, i.e. if you touch an opponent's piece without announcing "j'ad...
by Ras
Fri Aug 09, 2019 2:20 pm
Forum: Computer Chess Club: General Topics
Topic: Why are chess computers no longer important?
Replies: 10
Views: 2564

Re: Why are chess computers no longer important?

Reasons: 1) most high-end dedicated units in the 80s were on Motorola 68k, but it was Intel's x86 who won the race. Mostly because 68k was used in home computers where most games wouldn't work with more than 68k at 8 MHz, so nobody bought faster models, so Motorola couldn't sell them. 2) once CPUs s...