Baldur’s Gate III Comes To The TRS-80 Model 100

To say that Tandy’s TRS-80 Model 100 was an influential piece of computer hardware would be something of an understatement. While there’s some debate over which computer can historically be called the “first laptop”, the Model 100 was early enough that it helped influence our modern idea of portable computing. It was also one of the most successful of these early portables, due in part to how easy it was to write your own software for it using the built-in BASIC interpreter.

But as handy and capable as that integrated development environment might have been, it never produced anything as impressive as this Baldur’s Gate III “demake” created by [Alex Bowen]. Written in assembly, the game’s engine implements a subset of the Dungeons & Dragons Systems Reference Document (SRD), and is flexible enough that you could use it to produce your own ASCII art role-playing game that can run on either a Model 100 emulator like Virtual-T or on the real hardware.

Continue reading Baldur’s Gate III Comes To The TRS-80 Model 100″

Happy Birthday, Tetris!

Porting DOOM to everything that’s even vaguely Turing complete is a sport for the advanced hacker. But if you are just getting started, or want to focus more on the physical build of your project, a simpler game is probably the way to go. Maybe this explains the eternal popularity of games like PONG, Tetris, Snake, or even Pac-Man. The amount of fun you can have playing the game, relative to the size of the code necessary to implement them, make these games evergreen.

Yesterday was Tetris’ 40th birthday, and in honor of the occasion, I thought I’d bring you a collection of sweet Tetris hacks.

On the big-builds side of things, it’s hard to beat these MIT students who used colored lights in the windows of the Green Building back in 2012. They apparently couldn’t get into some rooms, because they had some dead pixels, but at that scale, who’s complaining? Coming in just smaller, at the size of a whole wall, [Oat Foundry]’s giant split-flap display Tetris is certainly noisy enough.

Smaller still, although only a little bit less noisy, this flip-dot Tetris is at home on the coffee table, while this one by [Electronoobs] gives you an excuse to play around with RGB LEDs. And if you need a Tetris for your workbench, but you don’t have the space for an extra screen, this oscilloscope version is just the ticket. Or just play it (sideways) on your business card.

All of the above projects have focused on the builds, but if you want to tackle your own, you’ll need to spend some time with the code as well. We’ve got you covered. Way back, former Editor in Chief [Mike Szczys] ported Tetris to the AVR platform. If you need color, this deep dive into the way the NES version of Tetris worked also comes with demo code in Java and Lua. TetrOS is the most minimal version of the game we’ve seen, coming in at a mere 446 bytes, but it’s without any of the frills.

No Tetris birthday roundup would be complete without mentioning the phenomenal “From NAND to Tetris” course, which really does what it says on the package: builds a Tetris game, and your understanding of computing in general, from the ground up.

Can you think of other projects to celebrate Tetris’ 40th? We’d love to see your favorites!

Foosbar: The World’s Best* Foosball Robot From Scratch

[Xander Naumenko] is back with another bonkers project. This is the same creator that built a working 32-bit computer inside a Terraria world. This time it’s a bit more physical of a creation: a self-playing foosball table.

We’re not sure of the impetus for this idea, but we’re delighted to see the engineering it took to make it work. It sounds so simple. It’s just servos mounted on linear actuators, right? Oh, and some computer vision to determine where the ball actually is on the table. And the software to actually control the motors, pass the ball around, and play offense and defense. So maybe not so simple. All the code and some other resources are available under the MIT license.

As to while the claim of “best” foosball robot has an asterisk? That’s because, although we’ve seen a few potential competitors over the years, there isn’t yet a world foosball competition. We’re hoping that changes, as a tournament of robots playing foosball sounds like a sports event we’d show up for!

Continue reading “Foosbar: The World’s Best* Foosball Robot From Scratch”

Tarzan, Lost Since 1983, Swings Back Onto The Atari 2600

Computer gaming history is littered with tales of fabled lost hardware and software. Some of them are very famous such as the E.T. cartridges buried in a desert landfill or the few prototype SNES/CD-ROM hybrid that Nintendo was developing with Sony before the introduction of the PlayStation, but others have faded somewhat into obscurity. Among these is Tarzan for the Atari 2600, a game which was never released due to the 1983 console crash, and which the [Video Game History Foundation] have a report on its rediscovery and preservation.

The game was to be published by Coleco for their ColecoVision console as well as the 2600. The ColecoVision version was released and was apparently even fairly well reviewed, but the Atari port was canceled and its very existence eventually faded into obscurity.

Continue reading Tarzan, Lost Since 1983, Swings Back Onto The Atari 2600″

A stack of PCB business cards that can play Snake on an 8x8 LED matrix.

2024 Business Card Challenge: Snakes On A Business Card

Once [Lambert the Maker] saw the Arduboy, he knew the thing was ripe for remixing into a business card with an 8×8 LED matrix instead of an OLED screen. [Lambert] already has a PCB business card for work, but it looks like it doesn’t do anything. So this Snake-playing card is for their personal information.

The brains of this operation is an STM32F0, which required a bit of finesse when it came to programming the LEDs. According to the datasheet, the max current through a given GPIO pin is 30 mA. The LEDs are running at 20 mA through the limiting resistor, so the code only turns on one LED at a time and makes sure the previous one is off first. The whole screen is updated every 125 ms, and persistence of vision takes care of making the animation look right.

In the short videos after the break, you’ll see a preview followed by brief videos on versions one and two. The prototype was built in 2020, when the board house only offered green PCBs with their assembly service. Fast forward to 2024, when the board house is now offering colors other than green.

Version two is actually thinner than a credit card, and features tiny buttons instead of cap-sense pads for input. [Lambert] also added a floating ADC pin that acts as a random number generator, placing the apple in a new location every time the game is powered on.

Continue reading “2024 Business Card Challenge: Snakes On A Business Card”

Screenshot of Microsoft Flight Simulator with the Dune expansion, and in the top right corner, the mod's author is shown using their phone with an attached gamepad for controlling a Dune ornithopter.

Take Control Of MS Flight Sim With Your Smartphone

Anyone with more than a passing interest in flight simulators will eventually want to upgrade their experience with a HOTAS (Hands On Throttle-And-Stick) setup that has buttons and switches for controlling your virtual aircraft’s assorted systems, which are well supported by games such as Microsoft Flight Simulator (MSFS). But a traditional HOTAS system can be a bit of an investment, so you might want to thank [Vaibhav Sharma] for the virtualHOTAS project that brings a configurable HOTAS interface to your phone — just in time to try out that Dune expansion for MSFS.

The phone’s orientation sensors are used as a joystick, and on the screen, there’s both sliders and buttons you can use as in-game controls. On the back-end there’s a Python program on the computer which exposes a webserver that the phone connects to, translating sensor and press data without the need for an app. This works wonderfully in MSFS, as [Vaibhav] shows us in the video below. What’s more, if you get tired of the touchscreen-and-accelerometer controls, you can even connect a generic smartphone-designed game controller platform, to have its commands and movements be translated to your PC too!

All the code is open source, and with the way this project operates, it will likely work as a general-purpose interface for other projects of yours. Whether you might want to build an accessibility controller from its codebase, use it for your robot platform, maybe simply repurpose this project for any other game, [Vaibhav]’s creation is yet another reminder that we’re carrying a sensor-packed platform, and it might just help you build a peripheral you didn’t know you needed.

Don’t have a phone handy? Perhaps an Xbox controller could work with just a few 3D printed upgrades, or you could stock up on buttons and build your own joystick from scratch. Oh, and keeping HOTAS principles in mind can be pretty helpful — you might get to redesign the venerable computer mouse, for instance!

Continue reading “Take Control Of MS Flight Sim With Your Smartphone”

Walking Through A Scene From Riven On The Apple II

Twenty years before the 1997 release of Riven – Cyan’s sequel to the critically acclaimed title Myst – a fruity company in California released the Apple II, a 6502-based microcomputer that would be produced until 1993. With the upcoming remake by Cyan of Riven into a fully 3D experience, [deater] found themselves wondering how much of the original game’s click-and-puzzle game would fit on a 140 kB floppy for the Apple II series of computers. Since Myst was able to be squeezed  onto a mere three floppies and provide a reasonably playable version of the game on the Apple II, surely the same could be done for this sequel?

The Maglev in the Apple II port of Riven. (Credit: [deater])
The Maglev in the Apple II port of Riven. (Credit: [deater])
Just a look at the system requirements for Riven (Win95+, 100 MHz Pentium, 16 MB RAM and 75 MB disk space) and the knowledge that the game came on five CD-ROMs (until the DVD release) should instill some trepidation that a serious demake would be needed. Ultimately [deater] managed to set the system requirements for the port to any Apple II with at least 48 kB of RAM. The same custom game engine as for the Myst port is used, with the original CG stills downsampled and the movies rotoscoped at fairly low framerate.

Although the ‘Disk 39’ in the video is currently the sole floppy, containing part of Dome Island and the Maglev, it is probably a fair assessment of how many 140 kB disks would be needed to port the entire game. Even with the downsampled graphics, [deater] reckons it would take on the order of hundreds of floppies to fit the whole thing.

Continue reading “Walking Through A Scene From Riven On The Apple II”