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.

I wrote a script that wins the majority of HQ Trivia games

172 pointsby _sentientover 7 years ago

11 comments

applecrazyover 7 years ago
This article practically rips off my article as well as an article I cited in that post, which I submitted earlier this week. If you put both articles side-by-side, they have the same structure and a fairly similar approach to the problem. While this could be a coincidence (and honestly, I don’t care), I’m still a little miffed that the author didn’t bother to cite his inspiration.<p>The post in question:<p><a href="https:&#x2F;&#x2F;applecrazy.github.io&#x2F;blog&#x2F;posts&#x2F;protect-trivia-from-bots&#x2F;" rel="nofollow">https:&#x2F;&#x2F;applecrazy.github.io&#x2F;blog&#x2F;posts&#x2F;protect-trivia-from-...</a><p>Proof: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15944171" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15944171</a>
评论 #15980086 未加载
评论 #15977105 未加载
评论 #15977610 未加载
评论 #15977247 未加载
评论 #15976117 未加载
评论 #15976508 未加载
评论 #15976238 未加载
评论 #15976883 未加载
评论 #15977480 未加载
iancarrollover 7 years ago
It is important to note that trying to hide from OCR systems is not the right approach here. The text displayed in the game is coming from the network, and I highly doubt it&#x27;s hard to MiTM from your own device.<p>The other mitigations are more reasonable.
评论 #15976562 未加载
IvyMikeover 7 years ago
Back in the dotcom craze, there was a company trying to promote their internet currency. Think Flooz or Beenz, although it was neither one of those. Let&#x27;s call it iDollars.<p>To promote their currency, they had a variety of games you could play to earn small amounts of currency. One was a trivia game. My friends and I wrote a perl script to play the game, guess an answer, and whenever it guessed right, remember that combination for next time.<p>We ran the bot 24&#x2F;7. The real coup was throttling the bot so we were never the top earner in any day; we aimed to be approximately in tenth place every day. That managed to keep our gains plausible.<p>As the dotcom bubble exploded, there was less and less you could do with iDollars. Eventually someone at iDollar caught on and we eventually got a cease-and-desist letter telling us to stop, although the let us keep our spoils. My one friend managed to trade in his remaining iDollars for like 250 iDollar promotional golf towels, right before the company went under for good. I wonder if he still has them.
wyldfireover 7 years ago
&gt; Although seemingly insignificant, the right-side UI is actually harder for the Tesseract OCR Engine to parse, since the colors are less distinct.<p><i>shrug</i>, all the while making it harder for humans to see, too. All of these suggestions move the goal posts a bit and set things up for a cat-and-mouse game.<p>I applaud Cognetta&#x27;s effort but sadly I think we are heading for a future where artificially intelligent agents will ruin fun things like this.
评论 #15974384 未加载
jtokophover 7 years ago
I&#x27;ve done digging of my own to do the same Google search tricks and found that you can just connect to a websocket and get a live stream of the questions, possible answers as well as every chat message in the feed. OCR not required.<p>I was also considering using the chat messages to get the answer. People are either going to mostly say the right answer to sound smart or mostly send the wrong answers to try to trick people. Keep track of which is most common and you have an additional datapoint.
评论 #15982049 未加载
whoisjuanover 7 years ago
He really didn&#x27;t show how it performs or the actual solution running on a screen. The time you have to answer the question is very short and his solution has to work against 1) Latency of OCR 2) Latency of the Google Query 3) Latency of parsing the result 4) Latency of running the three methods 5) Input of the Answer (which needs to be performed by a human reading reading the output from the computer screen).<p>Can someone confirm if it&#x27;s possible to do all these in Python in l second or less?
评论 #15974458 未加载
评论 #15974549 未加载
nbclarkover 7 years ago
Was wondering when I&#x27;d see a post like this...<p><a href="https:&#x2F;&#x2F;github.com&#x2F;nbclark&#x2F;hqcheat&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nbclark&#x2F;hqcheat&#x2F;</a><p>Interestingly, we seemed to end up with all 3 of the same approaches. Was fun while it lasted
评论 #15974479 未加载
EGregover 7 years ago
<i>&quot;Trivia bots and clever hackers will be no issue for the platform’s rapid growth, as long as HQ makes a few critical adjustments.&quot;</i><p>Really, pretty much every CAPTCHA has been solved with deep learning now. The mitigations this guy gives can be trivially overcome.<p>What a game like Trivia HQ does is give a monetary incentive to build better trivia AI. Hi Watson!
评论 #15975529 未加载
bound008over 7 years ago
Also, for iOS devs, remember that you can detect mirroring, and even display a different UI on the &quot;external&quot; screen. In the case of HQ, you could <i>enhance</i> UX by putting the @traptrebek on the external screen while the question stays on the phone.
codinghorrorover 7 years ago
Simple basic heuristics FTW!! The dumbest thing that can work is often pretty darn good!
yreadover 7 years ago
It&#x27;s amazing that trivia games are still so hot in mobile. They were very popular 10-15 years ago as well though running via premium SMS and scamy subscriptions
评论 #15975273 未加载