Lurker News

Comments (151) 35 threads

lysp5 replies#
A friend "hacked" a similar betting gaming machine.

The game cost $2 to play. It loosely followed the payout rules of the TV show "who want's to be a millionaire". There were about 10-12 levels and every 2-3 wins you'd get to a checkpoint where you could cash out or continue playing for more money.
Each level was slightly harder in difficulty/time with 3 "prize/payout" levels, which changed based on how much the machine had paid out recently. You could generally win anything from $10-$40 per play.
It had about 8 different games you could play (one being sports trivia). One of the games you could choose was "spot the difference" where you have 2 images side by side and you needed to touch the screen in a set amount of time to find the 5 differences.
The method my friend worked out to "hack" the machine was to cross his eyes and merge the 2 images into one, similar to the stereogram "Magic Eye" images you can find. By crossing his eyes and merging the images into a single one - the differences stood out really clearly.
This lasted a few months with him and his friends cashing in on all the machines in the area, whenever their prize level was high. Eventually the software company worked out there was a problem with that specific game and updated their software.
It didn't pay out as high on that game. And the top prize level had to be completed in under 2 seconds. Which when you're trying to press a not-so-great touch-screen 5 times in 2 seconds, was not possible as not all presses would register if you touched it really quickly.

adrianN#
Amazing that people would code up a "spot the difference" type of game where you can win money without reading up on the techniques used to solve that type of game.
jakobegger2 replies#
Interesting that they "fixed" it by making it impossible to win.

Gaming / betting companies are pure evil.

jhanschoo3 replies#
Well, gambling is a luck-based game and this pretty much puts the luck in what is supposed to be a luck based game. Casinos aren't obliged to give their customers money if those customers know a neat trick, y'know.
YokoZar#
They are, however, expected to make the machines fair and up front about what they're doing. Randomly rejecting the user's inputs because of knowingly bad hardware isn't part of that deal.

The reasonable thing to do would be to disable that play mode altogether, not rig it.

justinpaulson#
This was a skill based game though, not gambling.
SmellyGeekBoy#
Casinos are obliged to give their customers money if they win the game. If there's a "problem" with the game that makes it easier to win then it's in the casino's interests to change it and eliminate that problem.
gadders1 reply#
The thing that really pissed me off is that the claw-grab machines are now based on payout percentages and rather than actually being a game of skill.
acct1771#
"Stacker" as well. Learned that the hardest way possible.
cgag2 replies#
Anyone who hasn't used this cross eye method on a spot the difference game needs to try it, it's a very interesting experience to see the way the differences are highlighted.
spappal1 reply#
Agreed, I just tried it. Two good examples for this are the ones in the Wikipedia page [0]. The size in the page is maybe a bit large, if it requires a too large angle of eye crossing: hit Ctrl - a few times to zoom out.

[0] https://en.wikipedia.org/wiki/Spot_the_difference

abluecloud#
that's amazing. thanks.
Elte#
Wow, it took me a bit of trying, but I was surprised at how clearly I could see the "compound" picture with the right amount of "cross" when the rest of the world was blurred. And at how well the differences stood out.

I've learned a new party trick :D.

justinpaulson#
I realized this method when I watched this guy on superhuman. I figured this is what he was doing...

https://youtu.be/1YWC-K8LvxM

tgarv#
Check out https://www.reddit.com/r/CrossView/ for some other cool applications of that technique! Though I admit that using it to spot differences is the best application I've seen :)
_qx3q3 replies#
I wrote a similar program a while ago to cheat at Word Soup which is another of the games on these machines.

http://chris-knott.appspot.com/projects/word_soup.html
They are technically not gambling. There are two different regulations in the UK - Amusements With Prizes, which are random and you need to be 18+ to play, and Skills With Prizes which are technically skill games and you don't need to be 18 to play, or have a gambling license to run.

splonk#
Looks like the likely top prize on these is 50 GBP.

From https://www.gamblingcommission.gov.uk/for-gambling-businesse...:
"What is the maximum stake/prize on an SWP? As you don’t need a licence or permit there is no legal limit for stake or prizes.
However, it would be very difficult to manufacture a genuine SWP machine that is economically viable and offers prizes over £50 (the prize limit set by the industry trade body following discussion with us).
We would be likely to raise questions about machines with prizes above this range."

peteretep#
I spent at least 6 months when I was 19 playing this and mentally designing an app to do this. Awesome that you did it!
downandout1 reply#
FYI I’m getting an “Over Quota” error when trying to access your site.
downandout#
Thanks! As an amateur advantage gambler, I find all of this stuff fascinating.
wst_2 replies#
Not directly related, but similar approach... Around 20 years ago. One of the eastern block countries, short after the transformation. Officially democratic but practically in a limbo between old and new system. Gambling law allows to run casinos but also a small slot machine parlors - gambling dens for poor and naive, occasionally getting rich for a short time, before they loose everything again and put in even more. Novomatic slot machines are deployed in large quantities in those places. Among them American Poker 2 (which you can play using MAME [1] if you like.) A crud machine, considering AAA games released at the time, nonetheless serves its purpose well. No one cares about 3D and shaders in those places, anyway. Two men enter the parlor. One does not speak local language at all, the other is born local but lived abroad long enough to get the weird accent. They buy a game for a minimum amount of money and lose everything fast. Not even trying to win, just passing cards at the same time noting the sequence in cell phone. Cell phones aren't allowed in the parlor but they are quick, no one sees anything, besides, they are trained in memorizing the sequence if needed. They leave the parlor "for a smoke," come back after few minutes, insert a minimum amount again and win every single deal. That must have been a really lucky smoke! They cash in a lot, leave a considerable tip to the staff and off they go. Apparently American Poker 2 is popular in whole eastern Europe at the time and, apparently, ROM version is the same everywhere. They are visiting every city big enough to have multiple parlors. They are visiting multiple countries in the region. They don't work alone, obviously. They become bold and try to cut a deal with a parlors' staff. In many places they succeed - it's a lousy job in lousy place. Especially on night shifts and they rarely visiting during the day. It's safer that way. So they come, they get a tip from the staff about which slot machine is money fat this night. It matters more for the staff then for them, it looks better in daily report. They win, share some with the staff and go to another parlor or another city. But sooner than later a pattern starts to form and some notices the behavior of two always winning regulars. Gossip starts to follow them. It's harder to get by unnoticed. In the end, maintenance crew updated the game ROM in all machines and the trick stopped to work. At least for a while. No one ever caught the lucky winners.

[1] http://www.gamesdatabase.org/game/arcade/american_poker_ii

rmetzler1 reply#
A lot of slot machines used to work like that. The outcome appears to be random, but is in fact a big hard coded table determining the outcome depending on current state. If you know the table and are able to determine the state of the machine, it's easy to cheat the game.

I remember having read similar stories about slot machines in Germany.

dan000892#
Rather famously, a Canadian casino in the 90’s had a keno game which was powered down nightly as the casino was only open 18 hours a day. While the game’s RNG was demonstrably random, a critical error was made in its implementation: the seed was stored in ROM. As a result, it repeated the same sequence of numbers following each power cycle. After a patron matched 19/20 numbers in three consecutive games, they took the machine out of service and ultimately paid him the $620k he’d won.

Source: https://www.americancasinoguide.com/gambling-stories/costly-...

nikolay1 reply#
There was something similar done with a machine called Jolly Card. Hacked ROMs were widespread, but they got replaced soon and chips sealed to that replacement could be spotted. But then people reverse-engineered the ROM and found a flaw in the random number generator. Smart Bulgarians managed to fit a single chip computer into a car remote, which at the time was a significant accomplishment. So, after using the remote keys to allow the device to sync with the poker machine's timer, they were able to guess the part when you can double your wins. So, after syncing, the smallest win can be increased 1,024-fold (you got a maximum of 10 doublings). They were selling this remote for 10,000 DEM, or German Marks, which was about 7,200 USD at the time. After people made millions milking the poker machines in Western Europe, the manufacturer released a fix, and the new generation of machines got a hardware random number generator.

I remember some mafia guys came to me knowing I can replicate the hacked ROMs, so, I cloned it, but I also made a hard-to-notice mark so that I can identify these machine (well, it was an extra space in some text.) Well, unfortunately, I wasn't able to find one later, but I didn't look hard for one anyway.

wst_#
Funny thing you've mentioned... The guys were from Bulgaria. Maybe the same group.
splonk4 replies#
Related: there are various bots for HQ Trivia that do similar things that have come up on HN before. Here's one with a bit of a writeup: https://medium.com/@tobymellor/hq-trivia-using-bots-to-win-m...

My general impression is that being able to screenshot and use real computing power is a fair bit easier than using OCR on a Raspberry Pi, but question parsing and querying Google is a lot harder than using a static corpus of questions and answers.

applecrazy#
I've built a similar proof-of-concept HQ Trivia algorithm before[0], and from my simple tests, in most cases isn't any additional work needed, just naively send the OCRed question to Google. Of course, some questions don't work using this naive approach, which is why a similar HQ Trivia bot used riffed on this concept with unique (and clever) heuristics[1].

And yes, it is easier to work with a screenshot than a grainy image of text produced by a camera.
[0]: https://applecrazy.github.io/blog/posts/protect-trivia-from-... [1]: https://hackernoon.com/i-hacked-hq-trivia-but-heres-how-they...
Edit: my HQ Trivia system was a simple 1-hour weekend project, so it is by no means perfect. Also, to prevent my Github from being taken down, none of the code is available.

kregasaurusrex2 replies#
I'd previously done OCR work with Twitch streams, but the reliability of the Tesseract libraries for custom fonts had stopped me from going any further with it. Since HQ uses a standardized font library, I'd imagine character extraction would be more successful when recording from screenshots because it would likely be closer to the library's training datasets.
lathiat#
Counting donations and subs? I’d thought about doing the same.
driverdan#
You can train Tesseract on other fonts.
pascoej#
Even with a good bot (displays info instead of likely answer), HQ stops you from withdrawing after you win too many games, no fun :(

You can directly connect to their websocket and get the text of the answers faster than they are displayed on the app.

Load more comments