TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

“Found this comment in Apple’s open source chess engine source”

3 pointsby jeremylevyover 4 years ago

1 comment

ArneVogelover 4 years ago
Hah, I am doing the same thing on my chess site [1]. On my site you play against an opening repository so there is not even any real calculation done just a lookup into the repository what the next move should be. It feels really weird having the computer respond when you feel like you haven&#x27;t even finished your move. That is why I added a 300ms delay [2] to make it feel more natural.<p>[1] <a href="https:&#x2F;&#x2F;listudy.org&#x2F;en" rel="nofollow">https:&#x2F;&#x2F;listudy.org&#x2F;en</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;ArneVogel&#x2F;listudy&#x2F;blob&#x2F;master&#x2F;assets&#x2F;js&#x2F;study.js#L339" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ArneVogel&#x2F;listudy&#x2F;blob&#x2F;master&#x2F;assets&#x2F;js&#x2F;s...</a>