↓
 

The PolyBlog

My view from the lilypads

  • Life
    • Family (all posts)
    • Health and Spiritualism (all posts)
    • Learning and Ideas (all posts)
    • Computers (all posts)
    • Experiences (all posts)
    • Humour (all posts)
    • Quotes (all posts)
  • Reviews
    • Books
      • Book Reviews (all posts)
      • Book reviews by…
        • Book Reviews List by Date of Review
        • Book Reviews List by Number
        • Book Reviews List by Title
        • Book Reviews List by Author
        • Book Reviews List by Rating
        • Book Reviews List by Year of Publication
        • Book Reviews List by Series
      • Special collections
        • The Sherlockian Universe
        • The Three Investigators
        • The World of Nancy Drew
      • PolyWogg’s Reading Challenge
        • 2023
        • 2022
        • 2021
        • 2020
        • 2019
        • 2015, 2016, 2017
    • Movies
      • Master Movie Reviews List (by Title)
      • Movie Reviews List (by Date of Review)
      • Movie Reviews (all posts)
    • Music and Podcasts
      • Master Music and Podcast Reviews (by Title)
      • Music Reviews (by Date of Review)
      • Music Reviews (all posts)
      • Podcast Reviews (by Date of Review)
      • Podcast Reviews (all posts)
    • Recipes
      • Master Recipe Reviews List (by Title)
      • Recipe Reviews List (by Date of Review)
      • Recipe Reviews (all posts)
    • Television
      • Master TV Season Reviews List (by Title)
      • TV Season Reviews List (by Date of Review)
      • Television Premieres (by Date of Post)
      • Television (all posts)
  • Writing
  • Goals
    • Goals (all posts)
    • #50by50 – Status of completion
    • PolyWogg’s Bucket List, updated for 2016
  • Photo Galleries
    • PandA Gallery
    • PolyWogg AstroPhotography
    • Flickr Account
  • About Me
    • Subscribe
    • Contact Me
    • Privacy Policy
    • PolySites
      • ThePolyBlog.ca (Home)
      • PolyWogg.ca
      • AstroPontiac.ca
      • About ThePolyBlog.ca
    • WP colour choices
  • Andrea’s Corner

Tag Archives: gaming

Articles I Like: The Lottery Hackers – The Huffington Post

The PolyBlog
March 2 2018

Usually when you see an article or some link about “beating the lottery”, you know it’s going to be a scam site, so there’s no point in clicking on it. You can’t beat the lottery, you just can’t. Right?

That’s certainly the popular wisdom, and the attached article (I used to hate the Huffington Post, but it’s become a little less sleazy and irresponsible of late, I find) walks through some of the history of how it is just a tax on the poor, the underrepresented, etc. And if someone found a way to “beat” the system, it would be illegal, right?

Well, apparently not. Based on some articles that ran in the Boston Globe, a down-home, blue collar guy in a white collar job (working for a cereal company on packaging), was fond of puzzles. And he loved math, so he would read, take courses, constantly learning new things. And then, one day, he was reading an ad for a new state lottery when he noticed something odd. It was your standard “pick-six” numbers out of a possible 49 for up to a $5M pay-off. Nothing unusual there. But they were adding a feature — if the big prize wasn’t won, it would roll-over, and roll-over (similar to most lotteries) BUT with one key difference — after a few weeks, if the big prize wasn’t won, they would do something called a “roll-down”. They would take all that big prize money and pro-rate it across all the smaller prizes. So, for example, the smallest prize of $5 could win $50 that week, if nobody won the big prize.

While that seems like no big deal, it drastically alters the math for your “return on investment”. So if you think of your chance of winning $10 in a game that only has ten tickets that cost a $1 each, then your expected return for your dollar “bet” is only $1. How does that work:

Expecting winnings = the prize money x the likelihood of winning = $10 x 1 in 10 = $1

So, statistically speaking, if you played over time, you would come out even. You would pay a $1 and expect to get a dollar back. Even Steven. And lotteries take that into account when they design the games. The math is NEVER in your favour. For example, your normal “return” calculation would look like this:

Expected winnings = HUGE prize x low odds of winning = $50M x 0 = $0

It isn’t zero, admittedly, but it is so low, it doesn’t change your payout calculation other than to say your return would be somewhere around one-thousandth of a penny. Over time, you would be guaranteed to lose money. Lotteries are rigged so the house always wins and suckers can’t game the system.

However, the rolldown would change that calculation, if for example, every sixth game, the payout was $20:

Expected winnings = $20 x 1 in 10 = $2

Or, put differently, if you could buy all ten tickets for $1 each for $10, your guaranteed payout would be the $20 and you’d be up $10. The math works because the winnings that week are NOT based on your normal return, they add in winnings from previous weeks that went uncollected. This means the state isn’t losing money — they already got their take. This is more like previous people didn’t win, so you can win THEIR money as well as the money from this week.

The problem though, in a state lottery, or any lottery where there are millions of combinations of tickets and millions of players, you can’t buy all the tickets, of course, but you also can’t buy enough tickets to even out random chance. So in the above example of $20, if you only buy 1 ticket, then your odds of winning don’t change, and it could take ten times before you “hit” — on average. But it could be 20 times or 2 times…if it is only twice, you’re way ahead. If it is 20, you come out down $10. The example in the article is with coin tosses, but the basic idea is that you need enough tickets to offset the random fluctuations of chance so that your investment matches the statistics (i.e. you need enough coin tosses for statistics to prevail).

How many tickets? The more you buy, the more it evens out the fluctuations. The main guy in the article starts at $3500 on $1 tickets. And he lost $150 or something. Next time, he went larger, $10K, $15K, etc., and evened it out. So he was making almost 50% return. Then he took on investors and jacked it up to $100K and more.

But the time investment was huge — he had to stand at a terminal all day long printing tickets. And only for “roll-down” pots. It wsa the only time the payouts were in your favour. And over time, the lottery officials would notice and kill it.

So he started playing another similar game in another state, and the newspaper article profiles other “investor” groups who noticed the same design flaw. However, to be clear, they weren’t cheating. They were just doubling down their bets when they knew the odds and payouts were more favourable. They weren’t rigging the game (although one group did that a bit, albeit not illegally). They weren’t cheating. They also weren’t anonymous — the lottery knew what they were doing and wasn’t stopping them. Because they were playing like everyone else — press the button, buy some tickets, take your chances. They were just doing it on a MASSIVE scale. Which the lottery officials didn’t mind because 40 cents of every bet was going into revenue for the state. The tax part of the winnings.

Overall, a really cool article. Even if the HP is mostly piggy-backing on stories written elsewhere, it’s decent reading.

Posted in Learning and Ideas | Tagged gaming, loophole, lottery, math | Leave a reply

A guy who should be on Kick Starter

The PolyBlog
April 17 2016

I see lots of posts around the ‘net about the power of the Raspberry Pi. People who have turned it into a TV turner, remote control for a 100 different things, powered robots, tons of things out there. If you don’t know what a Raspberry Pi is, it’s basically a little tiny computer. It has the power of a high-end IBM AT, maybe a little further than that, but you can add just about anything to it. And it’s tiny, runs on batteries, so it’s the perfect toy for someone who wants to design a DIY device at home. Robotics and/or hardware courses in tech colleges often use them for early coursework by students to go crazy on their own inventions.

One thing that pops up frequently is someone who has used it to run an emulator program for old game console games — Nintendo, in particular, is the popular one with games from the original NES, Nintendo Cube, N64, and the whole series of Game Boy versions. The emulator software basically runs what used to be loaded on hardware in the console systems, and thus you can “load” game modules (called ROMs) into the emulator and it’s as if you popped the hardware cartridge into the original console. A software emulator of the console + the software of the game cartridge = brand new form of retro-style gaming.

Emulators have been around for years, and over time they started to “merge” into some key versions. Some died out just with the original designer losing interest, other times it’s because someone came along with a better version. However, one of the big developments in retro gaming was the ability to create a “governance” emulator that loads sub-emulators — which meant you could have ONE software program (like Emulation Station, shown in the video, or RetroArch, another popular one) and once you load it, you can add a bunch of sub-emulators for all the different systems. It’s still a bit tech heavy, i.e. the novice user might have a challenge, but there are walk-through videos and tip guides to tell you how to configure it all. Most people run the emulators on PC desktops, but there are versions that run on other gaming systems, some that run on Raspberry Pi, Android, iOS; you name it, there’s an emulator version.

This guy? He put it all together into a retro-style Game Boy, upgrading and tweaking as he went:

  • Raspberry Pi;
  • Original Game Boy box;
  • 3.5″ composite display;
  • Added two extra NES buttons (for X&Y functions — later games needed more buttons to differentiate commands);
  • Original headphone jack which still disables external speaker when plugged in;
  • USB port for keyboad, mouse, whatever, because why not, really?;
  • Micro-USB for charging;
  • Mini-HDMI to go out to the TV;
  • Added two small buttons on the back to handle Left-Right sub-toggles (again for the later games);
  • Kept battery compartment;
  • 2000 mAH lithium polymer battery;
  • USB hub inside had two ports, and he was only using one, so he added Bluetooth; and,
  • Screen buttons for contrast.

Now that’s pretty impressive, all on its own, and then he went to the genius level. He took an old Nintendo Game Boy cartridge that used to slide into the back for the games, broke it apart, adapted and modified it, and now it works with an SD to MicroSD card adapter! Which of course meant he had to then modify the cartridge reader in the Game Boy itself to read the SD card too.

Now he has a cartridge that goes in the Game Boy with the ability to load anything he wants off an micro SD card. In this case, Retro Pi, Emulation Station, and a bunch of emulators under the Emulation Station system. Voila, instant portable gaming system loaded with hundreds of retro games across multiple platforms.

If it wasn’t for the fact that ROMs exist in a semi-grey zone for legality, this guy could be rocking Kickstarter. He’s freakin’ brilliant. Lots of people are doing pieces of this, but he pulled it all together and rocked the house with awesome quality and design.

Posted in Computers | Tagged emulator, gaming, Raspberry Pi, retro | Leave a reply

Countdown to Retirement

Days

Hours

Minutes

Seconds

Retirement!

My Latest Posts

  • Someone as crazy as me about goalsNovember 3, 2025
    My wife sent me a reel from FB of Matthew Dicks talking about his 2025 goals, and reading it made even me think it was “too much”. The same reaction I have when I look at my huge goal lists of the past. But I admire the dive technique. Let’s pick some of them apart … Continue reading →
  • The duality of digital meOctober 20, 2025
    So, I have two main websites: I’ve played with the sites over the years, moved stuff around, even debated the locations of certain types of files. However, that’s not surprising…how can the PolyWogg site be about my “writing”, yet I have over a million words on the ThePolyBlog site? Isn’t that writing too? The funny … Continue reading →
  • So I was hacked, but I don’t know howSeptember 25, 2025
    Earlier this week, I got an email saying one of my social media accounts had an unusual login, but it was nearby, and sometimes that happens normally when my one tool uses a different server, etc. or a bot runs from another setup. Not necessarily “me” accessing, but things that I authorized to access showing … Continue reading →
  • R.I.P. Robert RedfordSeptember 17, 2025
    I rarely react when I hear that a celebrity has died. Often, it is authors that affect me more than actors or musicians. But Robert Redford was probably my mother’s favourite actor, partially (hah!) influenced by looks. And so I react a little more knowing that she would have been said to hear of his … Continue reading →
  • Was attending #Bouchercon2025 a success for me?September 14, 2025
    When I first wrote this post, I published it here on ThePolyBlog as the obvious place where I shared anything about goals, experiences, writing, publishing. Except in recent weeks and days, I’ve refashioned PolyWogg as having more “writing” focus and thus moved most of my Bouchercon experiences over there. For other Bouchercon posts, I moved … Continue reading →

Archives

Categories

© 1996-2025 - PolyWogg Privacy Policy
↑