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.

Who will win in this riveting chess game of Math.random() vs. Math.random()?

5 pointsby Max_Horstmannabout 5 years ago

2 comments

gbaconabout 5 years ago
According to a Math.SE answer[0], such a game ends in a draw for about 85% of games.<p>[0]: <a href="https:&#x2F;&#x2F;math.stackexchange.com&#x2F;a&#x2F;846750&#x2F;34343" rel="nofollow">https:&#x2F;&#x2F;math.stackexchange.com&#x2F;a&#x2F;846750&#x2F;34343</a>
arthurcolleabout 5 years ago
It randomly stopped without completing - is there some kind of timeout?
评论 #22981686 未加载
评论 #22981563 未加载