Some see gaming as the way to make AI work, by teaching computers how to play, and win, at games. This is perhaps one step on the way to welcoming our new gaming overlords: a group of Cornell students used an FPGA to win a computer cricket game. Specifically, they figured out how to use an FPGA to beat the tricky batting portion of the game in a neat way. They used an FPGA that directly samples the VGA output signal from the gaming computer, detecting the image of the meter that indicates the optimum batting time. Once it detects the optimum point to press the button, it triggers a hacked keyboard to press a button, whacking the ball to the boundary to score a six*.
[Ilya Titov] has made a game console. Not just any game console, but an extremely small ATtiny85-based console suitable for putting on a key ring and assembled into a very professional product with PCB and 3D printed case. This is a project that has been on the go since 2014, but the most recent update is a new version designed for tighter and more easy assembly.
All construction is through-hole rather than SMD, and aside from the ATtiny85 the console uses an OLED screen, piezo buzzer, tactile switches and a handful of passive components. Power comes from a single CR2032 coin cell which sits under the screen. Best of all the PCB design is available as a PDF and the 3D printed case can be found on Thingiverse.
There are two games for the console, as well as the Breakout clone whose code is in the 2014 piece linked above he’s written UFO Escape, an obstacle-avoiding side-scroller. You’ll have to burn both game and 8MHz internal clock bootloader to the ATtiny85 yourself. There are no cartridges with this console, though if the processor sits in a DIP socket the game can be changed over simply by swapping processors programmed with the appropriate game.
He’s produced a full assembly video with some UFO Escape gameplay thrown in, shown here below the break.
Troy New York’s Tech Valley Center of Gravity is following up their January IoT Hackathon with another installment. The April 16-17 event promises to be a doozy, and anyone close to the area with even a passing interest in gaming and AR/VR should really make an effort to be there.
Not content to just be a caffeine-fueled creative burst, TVCoG is raising the bar in a couple ways. First, they’re teaming up with some corporate sponsors with a strong presence in the VR and AR fields. Daydream.io, a new company based in the same building as the CoG, is contributing a bunch of its Daydream.VR smartphone headsets to hackathon attendees, as well as mentors to get your project up and running. Other sponsors include 1st Playable Productions and Vicarious Visions, game studios both located in the Troy area. And to draw in the hardcore game programmers, a concurrent Ludum Dare game jam will be run by the Tech Valley Game Space, with interaction and collaboration between the AR/VR hackers and the programmers encouraged. Teams will compete for $1000 in prizes and other giveaways.
This sounds like it’s going to be an amazing chance to hack, to collaborate, and to make connections in the growing AR/VR field. And did we mention the food? There was a ton of it last time, so much they were begging us to take it home on Sunday night. Go, hack, create, mingle, and eat. TVCoG knows how to hackathon, and you won’t be disappointed.
Thanks to [Duncan Crary] for the heads up on this.
There’s no holy war holier than establishing whether PC games are superior to console games (they are). But even so, there’s no denying that there are some good console titles out there. What if you’d still like to play them using a mouse and keyboard? If you’re [Agent86], you’d build up the most ridiculous chain of fun electronics to get the job done.
Now there is an overpriced off-the-shelf solution for this problem, and a pre-existing open-source project that’ll get the same job done for only a few bucks in parts. But there’s nothing like the fun in solving a problem your own way, with your own tangle of wires, darn it all! The details of the build span four (4!) pages in [Agent86]’s blog, so settle down with a warm cup of coffee.
Here’s the summary: an Xbox 360 controller is taken apart and turned into an Xbox controller. The buttons and joysticks are put under computer control via a Teensy microcontroller. GPIOs press the controller’s buttons, and digipots replace the analog sticks. Software on the Teensy drives the digipots and presses the buttons, interpreting a custom protocol sent over USB from the computer, which also gets some custom software to send the signals.
So if you’re keeping score: a button press on a keyboard is converted to USB, sent to a PC, converted to a custom serial protocol, sent to a Teensy which emulates a human for a controller that then coverts the signals back into the Xbox’s USB protocol. Pshwew!
Along the way, there’s learning at every stage, which is really the point of an exercise like this. And [Agent86] says that it mostly works, with some glitches in the mouse-to-joystick mapping. But if you’re interested in any part of this crazy chain, you’ve now got a model for each of them.
Let’s face it, we all love arcades, but not all of us can fit a full size stand-up in our homes. [Bentika] knew the solution was a bartop style cabinet, but it had to be designed and built to his specifications. You see, [bentika] is an aspect ratio nerd. Only a proper 4:3 screen would do for emulating games designed for just such a display. Modern 4:3 displays are hard to come by, unless of course you have an iPad handy. The 1024 x 768 screens used on the early model iPads are perfect for the task.
Driving these screens used to be a chore, but thanks to hacker reverse engineering and overseas manufacturing, these days, controllers are only a few clicks away. [Bentika] ordered a controller for the iPad 1 screen from eBay. What he got was a controller that only worked with the iPad 2 screen. Thankfully he had a pile of old iPads to play with, so it wasn’t an issue.
[Bentika] designed his cabinet using AutoDesk 123D based upon reddit user [joshendy’s] basic outline. His final cut patters were created with Adobe Illustrator. He was able to get the entire cabinet laser cut for around $160, including materials. Cabinet assembly was easy, thanks to plenty of square gussets used to align the various pieces.
The controller for this arcade is of course a Raspberry Pi 2 running RetroPie. [Bentika] used a control block to interface the joystick and buttons to the Pi itself. RetroPie lends itself to “keyboardless” operation, he didn’t have to bring any of the Pi’s USB ports outside the case.
We have to say the final results are very nice. This system has all the portability of a CRT based bartop setup without the weight. You can check out more discussion of this hack over on [Bentika’s] Reddit thread, or click past the break for the video.
Video arcades may be a thing of the past, but they’re still alive, well and were ready to play at this year’s World Maker Faire. The offerings weren’t old favorites, all were brand new games many being shown for the first time like the long-awaited VEC9. The Hall of Science building was filled with cabinets and no quarters were necessary, all were free-play.
Death By Audio Arcade was there in force with games like Particle Mace and Powerboat Italia ’88. Our personal favorite was Nothing Good Can Come of This. [Michael P. Consoli] devised a simple game: Two players in an empty room. A bullet drops from a hole in the ceiling, followed by a gun shortly thereafter. What happens next is up to the players. The simple graphics and gameplay give this title its charm. [Michael] was showing off a new stand-up cabinet for the game this year. He built the entire thing himself, working until the wee hours before load-in at Maker Faire.
[Batsly Adams], [Todd Bailey], and [Mike Dooley] teamed up to create what may be the first new vector arcade in decades. VEC9 has been teased for over 2 years. They’ve finally wrapped this game up and showed it off at the faire. VEC9 started with an old
Asteroids vector monitor found by [Batsly].
[lactobacillusprime] had a non-working Commodore C16 and too many Raspberry Pi computers, so he decided to bring the C16 back to life by emulating it on the Pi. At the heart of the project is the Pi, along with a small board that converts the old style Commodore keyboards (and joysticks) to a USB port.
Once you have the keyboard as a USB port, the rest of the project is more or less mechanics and software. [lactobacillusprime] did a nice job of getting everything in the new case, along with all the I/O wires routed through the existing ports. For software, Emulation Station does the job of launching the Commodore emulation on the Pi.
Of course, there’s no reason to limit yourself to just the Commodore emulator. Emulation Station along with the right back end emulators will allow this machine to play games that no real Commodore C16 could.
Of course, we were happiest to see him boot up Commodore 64 BASIC. Perhaps we should complete all those half finished C64 BASIC projects we started back in the 1980’s. In general, we hate to see old computers gutted instead of repaired, but at least this one will continue running its software. If you are upset about seeing a machine gutted, you can always switch over to our previous coverage of putting Commodore guts in a new box.