1D LED PONG, Arduino-Style

Maybe it’s just us, but isn’t it kind of amazing that in a world of pretty darn realistic games, PONG is still thrilling to play? This 1D implementation by [newsonator] is about as exciting as it gets.

It works like you’d probably expect — the light moves back and forth between the two players. Keep it in the green and you have a nice, gentle volley going. Let it hit your red LED and you’ve lost a point. But if you can push your button while your yellow LED is lit, the light speeds up tremendously until the next button press in the green.

Our only wish is that subsequent yellow-light button presses would make it speed up even more. But there are really just the two speeds with the current programming.

Inside the cool laser-cut box is an Arduino Uno and a 9V battery, plus a current-limiting resistor and the all-important buzzer. We like how [newsonator] wired up the LEDs to the Arduino by soldering them to a row of header pins and sticking that into the Arduino so it can be used in other projects down the line. We also like how [newsonator] shoved a couple of dowels through the box to ultimately support the two buttons.

Check out the intro video after the break for the overall details. The build is done over a few different short videos which follow.

Although this is pretty small, it isn’t quite the minimum viable.

Continue reading “1D LED PONG, Arduino-Style”

Hilarious Security Flaw In Counter Strike 2 Is Now Patched

Normally, when we talk about video games having bugs, it’s some kind of item duplication glitch or a hilarious failure in the jacket equip code of some tedious first-person-shooter online wardrobe simulator. Counter-Strike 2 has had a more embarrassing faux-pas, however, with a security hole allowing bad actors to theoretically capture the IPs of their fellow players in a server. You won’t believe how this came to happen.

The exploit has already been making its way around the forums, with one [Crouch9706] raising the alarm. It’s all down to the way Counter-Strike 2 renders the names that players have entered in their Steam gaming profiles. In certain menus and other parts of the UI, the game will actually parse HTML in a player’s name. Typically, the way to trigger it is to join a game and vote to kick yourself. This brings up a dialog for other players that shows them your player name and parses the HTML. The only limitation is you only get 32 characters for your HTML.

There’s a nifty little extra trick to this, though, in that you can use this technique to snag another player’s IP. By putting in HTML that links to your own server, you can log any player IPs that connect to the server seeking an image, for example.

Of course, it’s not the biggest risk, with many players being behind ISPs that use CGNAT, making the harvested IPs rather useless. However, this sort of unexpected code injection is really not acceptable from a security standpoint. At the very least, it has the potential to expose players to nasty imagery.

Word on the street (Nitter) is that the exploit has now been patched. Meanwhile, if you’re working on a game that for some mad reason, executes code based on player names or any other such data, consider patching your work ASAP. If you find similar exploits in the wild, don’t hesitate to hit up our tipsline—and notify the developers, too!

Fail Of The Week: [Mark] Makes An Atari Cartridge

Part of the magic of the movies is that the actors always know what will happen next. There never has to be a scene where James Bond orders wine, and the sommelier has to correct his pronunciation, or he miscounts his hand at baccarat. Real life is rarely as smooth. Of course, YouTube is more akin to a movie than real life, and we always wonder how many flawlessly executed projects you see on YouTube really went that well. [Mark Fixes Stuff] left no scenes on the cutting room floor, though, in his realistic portrayal of his quest to build a nice-looking Atairi 2600 cartridge. Watch it below.

Spoiler alert: In the end, it all worked out. But getting there was a series of misadventures. Starting out with [Parker Dillman’s] PCB, he put together the insides of the cartridge, including a socket for the EPROM. He then resin-printed a case. Like many of our own projects, the first run wasn’t quite the size he expected. It was probably close enough, though, but then he realized the socket made the board too tall to fit in the enclosure.

Continue reading “Fail Of The Week: [Mark] Makes An Atari Cartridge”

Operate Your Own Nuclear Reactor, Virtually

If you’ve ever wanted to operate your own nuclear reactor, you probably aren’t going to get one in your backyard shop. However, thanks to the University of Manchester, you can get a simulated one in your browser. The pressurized water reactor looks realistic and gives you controls that — we are fairly sure — are greatly simplified compared to the real thing.

We suggest you start with the tour before you start unless, you know, you’ve operated a reactor before. You have to balance the control rods, the coolant pumping, and the steam output to produce as much power as possible without melting the core.

If the reactor were real, the pressure vessel would weigh as much as two 747 jets! Despite the high-tech, the business end is a conventional steam generator. The only difference is that the steam is made by the heat of the nuclear reaction instead of by burning coal or gas.

To operate the reactor, you’ll turn on the coolant pumps and wait for the high-pressure liquid to reach 290 C. In real life, this takes about 8 hours, but lucky for us, the simulation is sped up. Once you reach the right temperature, you can lift the control rods to start generating heat. This will let you adjust the steam output to try to match the demand at any given time. But if you go out of bounds, the reactor will helpfully shut down. Of course, that doesn’t help your score.

We don’t know how realistic it is, but we do know Homer Simpson probably has fewer shutdowns than we do. There are different types of reactors, of course. Operating them may be difficult, but creating fuel for them is no simple task, either. Just maybe put out your candles before you start playing.

Wolfenstein 3D Clone Makes Arduboy Debut

The 8-bit Arduboy isn’t exactly a powerhouse by modern gaming standards, or even really by old school standards for that matter. But for the talented developers that produce software for the system, that’s just part of the challenge. To date the monochromatic handheld has seen miniaturized takes on many well-known games, with several taxing the hardware beyond what most would have assumed possible.

But the latest entry into this catalog of improbable software, WolfenduinoFX, is easily the most technically impressive. As the name implies, this is a “demake” of 1992’s iconic Wolfenstein 3D. It features 10 levels based on the original game’s shareware release, with the enemies, weapons, and even secret rooms lovingly recreated for the Arduboy’s 128 x 64 OLED display.

Arduboy FX Mod-Chip

Now, those of you who have experience working with the ATMega32u4 microcontroller at the heart of the Arduboy might think this is impossible…and you’d be right. The only way developer [James Howard] was able to pull this feat off was by leveraging the extended flash memory offered by the Arduboy FX.

This upgrade, which was developed in conjunction with the community, allows the handheld to hold hundreds of games by loading them from an SPI flash chip. For WolfenduinoFX, that flash chip is used to hold graphical assets for the game that would otherwise be too large to fit on the MCU alone.

When we looked at the Arduboy FX back in 2021, it was clearly a must-have upgrade, so it’s no wonder that the newest version of the handheld has the capability built-in. Now that games are actually requiring the expanded flash to function, it seems we’ve officially entered into a new era for the quirky little handheld that [Kevin Bates] first sent our way nearly a decade ago. Long live the Arduboy!

Continue reading Wolfenstein 3D Clone Makes Arduboy Debut”

Bowling With Strings Attached: The People Are Split

There’s a bowling revolution in play, and not all bowlers are willing participants. In fact, a few are on strike, and it’s all because bowling alleys across America are getting rid of traditional pinsetting machines in favor of a string-based system.

In hindsight, it seems obvious to this American: attach strings to the tops of bowling pins so they can be yanked upward into holes that settle down the action so that the pins can be reset. In fact, European bowling “houses” have used string pinsetters for decades, instead of lumbering machinery that needs regular maintenance and costs several thousand dollars a month to maintain.

Continue reading “Bowling With Strings Attached: The People Are Split”

General Instruments Video Game Chip Rides Again

Early video games like Pong were not computer-controlled. They used discrete logic to generate the TV signals. As you might expect, the market exploded when you could get all the logic on a chip. Many of those games used the General Instrument AY-3-8500-1 chip, and [Jeff Tranter] shows us the chip and the many different yet similar games it could play. You can check out the retro gameplay in the video below.

These were marvels of their day, although, by today’s standards, they are snoozers. All the games were variations on a theme. A ball moved and hit paddles, walls, or goals. A few available light gun games were rarely seen in the wild because they took extra components.

Continue reading “General Instruments Video Game Chip Rides Again”