Search found 20013 matches

by hgm
Sat Sep 18, 2021 10:32 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Detecting if move that gives check exists
Replies: 34
Views: 569

Re: Detecting if move that gives check exists

It can be tricky with checks. When I was optimizing micro-Max there was no benefit from a check extension, unless I disabled it in the end-game. Apparently it did as much damage in the end-game as it helped in the middle game. The problem was that once the King came out, the tree was blown up enormo...
by hgm
Sat Sep 18, 2021 10:24 am
Forum: Computer Chess Club: General Topics
Topic: Apology to HGM
Replies: 1
Views: 72

Re: Apology to HGM

Apology accepted. I am happy this issue has now been cleared up.

It was really extremely unfortunate that exactly these two e-mails got lost. I can imagine that this created a totally wrong impression of what I intended to do for the TalkChess repairs.
by hgm
Sat Sep 18, 2021 10:10 am
Forum: Computer Chess Club: General Topics
Topic: Task force TalkChess access
Replies: 57
Views: 7965

Re: Task force TalkChess access

The piece images come from my server (hgm.nubati.net). So if they do not load, the problem is likely there. At the moment I do see pieces, so the server must be OK again. (Even when I clear the cache. Normally the piece images would already have been cached by your browser, so that they would displa...
by hgm
Sat Sep 18, 2021 9:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Detecting if move that gives check exists
Replies: 34
Views: 569

Re: Detecting if move that gives check exists

What you are looking for is a checks generator. This is a dedicated move generator that only generates moves that deliver checks. Just like you can also have a move generator for only generating captures, or check evasions. Of course the most primitive form of such a dedicated move generator is to g...
by hgm
Sat Sep 18, 2021 8:39 am
Forum: Computer Chess Club: General Topics
Topic: Polish users cut off from TalkChess
Replies: 128
Views: 252719

Re: Polish users cut off from TalkChess

Are the problems for our Polish members now solved?
by hgm
Fri Sep 17, 2021 9:09 pm
Forum: Computer Chess Club: General Topics
Topic: On the ownership of TakChess
Replies: 75
Views: 4524

Re: On the ownership of TakChess

Copying to an unrelated forum would still be aviolation of copyrights, though.
by hgm
Fri Sep 17, 2021 5:41 pm
Forum: Computer Chess Club: General Topics
Topic: On the ownership of TakChess
Replies: 75
Views: 4524

Re: On the ownership of TakChess

For most message boards you have to agree to some conditions before you can post. I think this is legally equivalent to a signed contract. These conditions could involve a transfer of copyrights, or a license to use the posted texts in a certain way, such as keeping the text readable through the boa...
by hgm
Fri Sep 17, 2021 5:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Distinguish rook and bishop move efficiently
Replies: 40
Views: 2159

Re: Distinguish rook and bishop move efficiently

The point is that that method would be totally useless.
by hgm
Fri Sep 17, 2021 5:12 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: HTTP / PHP problem.
Replies: 8
Views: 296

Re: HTTP / PHP problem.

It never worked for me to run these kind of scripts without delay. They appeared to run before the complete page was loaded, so that the getElementsByClassName method did not see all elements of that class, and the later occurrences were not processed. The problem is that I cannot place JavaScript j...
by hgm
Fri Sep 17, 2021 2:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Distinguish rook and bishop move efficiently
Replies: 40
Views: 2159

Re: Distinguish rook and bishop move efficiently

Yeah that's possible, on the other hand, if there's a need to shave 0.25 nanoseconds off this method, I'm going to assume it's part of some hot loop in which case latency and register availability might be a thing. Also, the OP specifically asked for a method that avoided array lookups. Ah, I misse...