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.

Return True to Win

234 pointsby moklickalmost 9 years ago

28 comments

fauriaalmost 9 years ago
This table is quite useful to solve some problems: <a href="https:&#x2F;&#x2F;dorey.github.io&#x2F;JavaScript-Equality-Table&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dorey.github.io&#x2F;JavaScript-Equality-Table&#x2F;</a>
评论 #12276550 未加载
评论 #12275740 未加载
apricotalmost 9 years ago
Find the exact combination of browser&#x2F;OS that does more than show &quot;return true to win&quot; on a white background to win.
评论 #12275906 未加载
评论 #12275604 未加载
评论 #12275600 未加载
评论 #12278411 未加载
qwertyuiop924almost 9 years ago
I already saw this on lobste.rs, but it&#x27;s still cool. I like ES just fine, but to think we could have had scheme instead. Gee, thanks Netscape:<p>Every time you win, everybody loses.
评论 #12275220 未加载
nfriedlyalmost 9 years ago
It loaded for me eventually. First one is pretty straightforward. After that they seem to require knowledge of JavaScript quirks.
ninjakeyboardalmost 9 years ago
I don&#x27;t exactly know what I did, but it did say that I win.
评论 #12275272 未加载
idbeholdalmost 9 years ago
Let me document all the reasons I dislike the HTML spec: it defines a willful violation of the ECMAScript standard.
评论 #12275078 未加载
sirsukialmost 9 years ago
TypeError: NetworkError when attempting to fetch resource.<p>Maybe the challenge is to fix HTTP?
unsignedqwordalmost 9 years ago
Does anybody really know why JS&#x27;s type system was designed the way it was? It seems so out of whack with what people want out of a language, dynamically typed or otherwise.
评论 #12275624 未加载
评论 #12276327 未加载
评论 #12275708 未加载
评论 #12276339 未加载
xyclosalmost 9 years ago
This is a nice challenge to start the morning.<p>However, on mobile the input loses focus after each individual character typed which is quite frustrating.
billpgalmost 9 years ago
I typed &quot;true&quot;, without the quotes.<p>Did I do it wrong?
评论 #12277948 未加载
评论 #12278663 未加载
dou4ccalmost 9 years ago
The game shows us how ugly JS is.
评论 #12275843 未加载
评论 #12275249 未加载
CGamesPlayalmost 9 years ago
My gosh, this is way harder than the alert(1) series. <a href="http:&#x2F;&#x2F;escape.alf.nu" rel="nofollow">http:&#x2F;&#x2F;escape.alf.nu</a>
nxzeroalmost 9 years ago
Reminds me of &quot;The Little Lisper&quot; and coding koans; honestly thought it&#x27;d be harder to &quot;win&quot; the challenge.
brudgersalmost 9 years ago
Fri Aug 12 14:35:18 UTC 2016:<p>Page had message that the Hacker News &#x27;hug&#x27; was likely to affect performance.
plankalmost 9 years ago
Took me a couple of tries... (Spoiler): Anyone anything shorter then 4 characters (two characters)?
评论 #12274897 未加载
评论 #12274931 未加载
评论 #12274882 未加载
评论 #12279548 未加载
评论 #12274924 未加载
curveshipalmost 9 years ago
For the first 5, I&#x27;ve got 2,3,8,14,7. Anybody got tighter solutions?
评论 #12276078 未加载
评论 #12276049 未加载
sladixalmost 9 years ago
Does someone have a &lt;52 char solution for the counter one ?
评论 #12275869 未加载
评论 #12275864 未加载
评论 #12278016 未加载
stoicalmost 9 years ago
With games like these I feel like we all lose
评论 #12276657 未加载
lalala1995almost 9 years ago
Please more levels
评论 #12275703 未加载
agentgtalmost 9 years ago
What is with the User&#x2F;Score&#x2F;Browser table? I only did like 4 of the tests and that thing popped up. I would finish it but I have some other things to do.
评论 #12277979 未加载
评论 #12277779 未加载
Zekioalmost 9 years ago
I quite like this kind of challenge :)
conkretealmost 9 years ago
▶ id(true ) &#x2F;&#x2F; (4 chars)<p>▷ true<p>You win!
grabcocquealmost 9 years ago
&#x27;Break JS to win!&#x27;
Tepixalmost 9 years ago
It doesn&#x27;t seem to work for me on Firefox and Chrome..?
评论 #12275211 未加载
评论 #12275350 未加载
okketalmost 9 years ago
This page only shows &quot;return true to win&quot; on a white background in Chrome?
评论 #12275209 未加载
评论 #12275289 未加载
mk7almost 9 years ago
I am so unhappy, because I can not play such games with Java... ;-)
alexmorenodevalmost 9 years ago
What the hell am I reading.
omarantoalmost 9 years ago
The link points to a page that only contains the text &quot;return true to win&quot; in large type on a white background. As with most modern art, I don&#x27;t get it.
评论 #12279544 未加载