Spinning Magnets Do Your Dice Rolling For You

Dice are about the simplest machines possible, and they’ve been used since before recorded history to generate random numbers. But no machine is so simple that a little needless complexity can’t make it better, as is the case with this mechanical spinning dice. Or die. Whatever.

Inspiration for the project came from [Attoparsec]’s long history with RPG and tabletop games, which depend on different kinds of dice to generate the randomness that keeps them going — that and the fortuitous find of a seven-segment flip-dot display, plus the need for something cool to show off at OpenSauce. The flip-dot is controlled by an array of neodymium magnets with the proper polarity to flip the segments to the desired number. The magnets are attached to an aluminum disk, with each array spread out far enough to prevent interference. [Attoparsec] also added a ring of magnets to act as detents that lock the disk into a specific digit after a spin.

The finished product ended up being satisfyingly clicky and suitably random, and made a good impression at OpenSauce. The video below documents the whole design and build process, and includes some design dead-ends that [Attoparsec] went down in pursuit of a multiple-digit display. We’d love to see him revisit some of these ideas, mechanically difficult though they may be. And while he’s at it, maybe he could spice up the rolls with a little radioactivity.

Continue reading “Spinning Magnets Do Your Dice Rolling For You”

Well Documented Code Helps Revive Decades-Old Commodore Project

In the 1980s, [Mike] was working on his own RPG for the Commodore 64, inspired by dungeon crawlers of the era like Ultima IV and Telengard, both some of his favorites. The mechanics and gameplay were fairly revolutionary for the time, and [Mike] wanted to develop some of these ideas, especially the idea of line-of-sight, even further with his own game. But an illness, a stint in the military, and the rest of life since the 80s got in the way of finishing this project. This always nagged at him, so he finally dug out his decades-old project, dusted out his old Commodore and other antique equipment, and is hoping to finish it by 2024.

Luckily [Mike’s] younger self went to some extremes documenting the project, starting with a map he created which was inspired by Dungeons and Dragons. There are printed notes from a Commodore 64 printer, including all of the assembly instructions, augmented with his handwritten notes to explain how everything worked. He also has handwritten notes, including character set plans, disk sector use plans, menus, player commands, character stats, and equipment, all saved on paper. The early code was written using a machine language monitor since [Mike] didn’t know about the existence of assemblers at the time. Eventually, he discovered them and attempted to rebuild the code on a Commodore 128 and then an Amiga, but never got everything working together. There is some working code still on a floppy disk, but a lot of it doesn’t work together either.

While not quite finished yet, [Mike] has a well-thought-out plan for completing the build, involving aggregating all of the commented source code and doing quarterly sprints from here on out to attempt to get the project finished. We’re all excited to see how this project fares in the future. Beyond the huge scope of this pet project, we’d also suggest that this is an excellent example of thoroughly commenting one’s code to avoid having to solve mysteries or reinvent wheels when revisiting projects months (or decades) later. After all, self-documenting code doesn’t exist.

Continue reading “Well Documented Code Helps Revive Decades-Old Commodore Project”

Building The Scoreboard Of Your Imagination

It might seem like electronic games and tabletop games are somewhat at odds. But there are always places where the lines are cleverly blurred as with this stat tracker beautifully constructed from a sandwich of circuit boards.

The nature of role playing games is one of deep imagination, putting yourself in the shoes of the player your are building though out a campaign. But of course the game board and pieces are there to keep track of all the data that your imagination just can’t. This can be done with a character card and some markers, a pad of paper, or a spreadsheet on your laptop. But to keep his mind in the world of Hyper Light Drifter, [Albert Phan] built this stat tracker that lives up to the aesthetic of the game.

The stackup of three PCBs does a brilliant job here, using cutouts on either end of the faceplate as a flexible tab that you press to actuate the surface mount button on the bottom PCB. The third PCB act as a spacer, not just for the six low-profile buttons, but also for the 40 LEDs that display status. That spacer has holes cut out for each light, providing isolation, with the FR4 substrate of the top plate acting as a diffuser.

It looks spectacular, it saves state between uses, and can be recharged via USB. But what’s that you say? You don’t play Hyper Light Drifter? Just respin the top PCB (and we suppose you’d need to tweak firmware as well) and you can swap it out for your game of choice.

Continue reading “Building The Scoreboard Of Your Imagination”

Explore This 3D World Rendered In ASCII Art

Pixelated RPGs are pretty standard in games like Legend of Zelda and Pokemon, but have you ever seen anything like ASCIICKER? It’s a full-color three-dimensional world rendered with ASCII art and playable in your browser.

For the time being, the game exists as an experiment. There’s no storyline or goals other than exploring the world, although you can meet up with (or follow) others exploring the game — although all of the sprites look the same, so it may be difficult to have interactions. The game was created by [Gumix] and built entirely in JavaScript without using any other game engines.

All of the previous iterations have also been published online and are accessible by adding X1 up to X13 to the end of the URL. With game development beginning in 2017, it has since been through a considerable amount of change. There’s an entire subreddit dedicated to the game with regular updates from the creator on the development of an open-source dev tool for building new levels and features for the environment. The current engine is capable of rendering objects as thin as fences as well as reflections in bodies of water.

You can try out the game for yourself and see what you think!

Continue reading “Explore This 3D World Rendered In ASCII Art”

Blowing The Dust Off Of An IBM AS/400 Server

If you’ve never seen an IBM AS/400 machine, don’t feel bad. Most people haven’t. Introduced in 1988 as a mid-range server line, it used a unique object-based operating system and was geared specifically towards business and enterprise customers. Unless you’re a particularly big fan of COBOL you probably won’t have much use for one today, but that doesn’t mean they aren’t worth playing around with if the opportunity presents itself.

So when a local IT company went belly up and was selling their old hardware, including a late 90’s era IBM AS/400e Series, [Rik te Winkel] jumped at the chance to take this unique piece of computing history home. He knew it was something of a risk, as maintenance and repair tasks for these machines were intended to be done by IBM certified technicians rather than the DIYer, leaving little in the way of documentation or even replacement parts. But in the end it worked out, and best of all, he documented the successful process of dragging this 90’s behemoth into the blinding light of the twenty-first century for all the world to see.

After getting the machine home and sitting through its thirty minute boot process, [Rik] was relieved to see the code 01 B N pop on the server’s display. This meant the system passed all the internal checks and was ready to go, he just had to figure out how to talk to the thing. Built to be a pure server, the machine didn’t offer any video output so he’d have to log into it over the network.

[Rik] noted that there was no new DHCP entry in his router for the server, but of course that was hardly surprising as the machine would have certainly had a static IP when it was in use. So he shut the server down, plugged it directly into his laptop’s Ethernet port, and watched the output of Wireshark as it went through its arduous boot sequence. Eventually he started to pick up packets coming from the IP address 10.10.10.9, and he had his target.

There are a few clients out there that allow you to remotely log into an AS/400, so he downloaded one and pointed it to the server’s IP. He was surprised to see the operating system was apparently in Dutch, but at least he was in. He tried a few common usernames and passwords, helped along by the fact that this OS from a somewhat more innocent era will actually tell you if you have the username right or wrong, and eventually managed to hack the Gibson with the classic admin/admin combo.

So he was in, but now what? [Rik] decided that he couldn’t truly call this machine bested until he could pull up the Hackaday Retro Edition, so he started work on writing a program to let him pull down the page directly on the AS/400 in IBM’s proprietary Report Program Generator (RPG) programming language. You know, as one does. He didn’t quite feel up to writing a whole HTML parser, but he got as far as generating a HTTP GET request, downloading the page’s source, and opening it up as a local file. That’s good enough for us.

Our very own [Al Williams] documented his adventures poking around an Internet-connected AS/400 machine, which might serve as a helpful primer if you ever find one of these delightfully oddball computers kicking around the local recycling center.

Unleash Your Inner Starship Captain With This Immersive Simulator Console

We like a good video game as much as the next person. Heck, a few hours wasted with “Team Fortress 2” on a couple of big monitors is a guilty pleasure we’ll never be ashamed of. But this starship bridge simulation console brings immersive gameplay to a new level, and we wholeheartedly endorse it even if we don’t quite get it.

The game in question is “Artemis Spaceship Bridge Simulator”, a game played by anywhere from 2 to 11 players, each of whom mans a different station on the bridge of a generic starship, from Engineering to Communications to the vaunted Captain’s chair. The game is generally played on laptops linked together in a LAN with everyone in the same room, and as cool as that sounds, it wasn’t enough for [Angel of Rust]. The whole mousing back and forth to control the ship seemed so 21st-century, so he built detailed control panels for each of the bridge stations. The level of detail is impressive, as is the thought put into panel layouts and graphics. The panels are mostly acrylic in MDF frames, which allows for backlighting to achieve the proper mood. With the help of a bunch of Arduinos, everything talks to the game software over DMX, the protocol used mainly for stage lighting control. There’s a cool demo video below.

This is uber-nerd stuff, and we love it. Pyrotechnics and atmospherics would be a great addition for “realistic” battles, and dare we hope that someday this ends up on a giant Stewart platform flight simulator for the ultimate experience?

Continue reading “Unleash Your Inner Starship Captain With This Immersive Simulator Console”

Dungeons And Dragons TV Tabletop!

With little more than pen, paper, dice, and imagination, a group of friends can transport themselves to another plane for shenanigans involving dungeons and/or dragons. An avid fan of D&D and a budding woodworker, Imgurian [CapnJackHarkness] decided to build gaming table with an inlaid TV for their inaugural project.

The tabletop is a 4’x4′ sheet of plywood, reinforced from underneath and cut out to accommodate a support box for the TV. Each leg ended up being four pieces of 1’x4′ wood, laminated together with a channel cut into one for the table’s power cable. An outer ledge has dice trays — if they’re even needed in today’s world — ready for all those nat 20s, cupholders because nobody likes crying over spilled drinks, and electrical outlets to keep devices charged. Foam squares cover the tabletop which can be easily removed and washed if needed — but more on that in a second. [CapnJackHarkness] painted the table as the wood rebuffed many attempts at staining, but they’re happy with how it turned out.

Continue reading “Dungeons And Dragons TV Tabletop!”