Teaching A Computer To Play Mario… Seemingly Through Voodoo

Some people know [Tom Murphy] as [Dr. Tom Murphy VII Ph.D.] and this hack makes it obvious that he earned those accolades. He decided to see if he could teach a computer to win at Super Mario Bros. But he went about it in a way that we’d bet is different that 99.9% of readers would first think of. The game doesn’t care about Mario, power-ups, or really even about enemies. It’s simply looking at the metrics which indicate you’re doing well at the game, namely score and world/level.

The link above includes his whitepaper, but we think you’ll want to watch the 16-minute video (after the break) before trying to tackle that. In the clip he explains the process in laymen’s terms which so far is the only part we really understand (hence the reference to voodoo in the title). His program uses heuristics to assemble a set of evolving controller inputs to drive the scores ever higher. In other words, instead of following in the footstep of Minesweeper solvers or Bejeweled Blitz bots which play as a human would by observing the game space, his software plays the game over and over, learning what combinations of controller inputs result in success and which do not. The image to the right is a graph of it’s learning progress. Makes total sense, huh?

Continue reading “Teaching A Computer To Play Mario… Seemingly Through Voodoo”

Booting A 1989 Mac With Mario

As a new recruit to the 68k Macintosh Liberation Army, [dougg3] is really showing off his hardware hacking ability. He came up with a replacement ROM SIMM for his Mac IIci and made it play the Mario theme on boot instead of the normal chimes.

Swapping out the ROM in these old macs isn’t an uncommon procedure. On some 68k machines, there’s a SIMM slot to either replace or expand the soldered ROM. In fact, it’s fairly common to take the ROM SIMM out of a IIsi and put it in the king of kings computer to make an SE/30 32-bit clean. We’ve never seen a re-writable ROM SIMM for these old macs, so we’re pretty sure [dougg3] just spared a Mac IIsi from the dumpster.

Now that the entire 68k Liberation Army is clamoring for one of [dougg3]’s re-writable ROMs (we’ve got cash), the question of what to do with it comes up. Of course, SE/30s can now be 32-bit clean without installing MODE32 and new startup chimes can be added. We’d really like to see some hard-core ROM hacking going on, like installing a 68060 in a Quadra 950.

Continue reading “Booting A 1989 Mac With Mario”

No Quarters Required For This Sidescrolling Game In A Box

teagduino_game_in_a_box

[Adam] from Teague Labs wrote in to share a new gadget they built to help demonstrate the capabilities of the Teagueduino. Their table top video game in a box was made with a bunch of electronic components they had sitting around, as well as soda straws, plenty of painter’s tape, and some popscicle sticks.

When someone pulls the string on the front of the box, a servo opens it automatically, and a second servo starts spinning the game reel. As the reel moves, the player is presented with a set of obstacles to dodge, guiding the “hero” via a knob-controlled servo. A hall sensor attached to the back of the character is tripped when passing over any of the obstacles, which are attached to the reel with magnetic tape. When the hero collides with an obstacle, the game ends and proceeds to close itself, much to the chagrin of the player.

As you can see in the video below, it’s a pretty entertaining and challenging game.

Looking to make one of your own? Swing by the Teagueduino site to grab the game’s code and be sure to share your creations with us in the comments.

Continue reading “No Quarters Required For This Sidescrolling Game In A Box”

Super Mario Coin Block Lamp Is A Nintendo Fanboy’s Dream Come True

super_mario_coin_block_lamp

[Laurence] was racking his brain coming up with potential birthday gifts for his friend when the idea of a Super Mario Bros. coin block lamp popped into his head. The block is constructed from drain pipe, a few pieces of plywood, some perspex, and a whole lot of awesome.

He wanted the lamp to make sounds when it was turned on and off, so he put together an audio circuit based on [LadyAda’s] WaveShield. His design is similar, though he swapped out the DIP packages for SOIC versions, adding a DAC, Op amp, and an audio buffer to fit his needs.

Once he had his electronics in order, he started construction of the lamp, painting the drain pipe green and mounting it under his light’s base. He built a large perspex box to serve as the coin block itself, printing the familiar graphics on tracing paper which he then glued into place. An arcade button adorns the top of the box, making for a very appropriate and fun light switch.

Be sure to check out the video below to see the lamp in action. We’re just a bit jealous of [Laurence’s] friend, and we sure wouldn’t mind having one of these in our office to sit alongside this mechanical coin block we featured a while back.

Continue reading “Super Mario Coin Block Lamp Is A Nintendo Fanboy’s Dream Come True”

Retro Video Games Sounds…for Your Toilet

super_mario_toilet

After reading about a Super Mario Brothers themed bathroom, [Jonathan] decided that it would be pretty cool to have his toilet play the “warp pipe” sound whenever anyone flushed.

He grabbed a small sound drop key chain on eBay and disassembled it to see how things worked. Once he figured out which solder pads corresponded to the warp pipe sound he added a few wires that, when shorted, trigger the sound effect.

He debated as to how the sound generator should be wired to the toilet, and was pretty reluctant to place the key chain inside the tank due to concerns about sound volume and water damage. He ultimately decided to trigger the sound effects using triboelectric charge, much like those touch lamps from the ’80s. He rigged up a simple circuit that is connected to both the toilet handle as well as the water intake valve on the wall. When someone touches the handle, the small charge that is present in their hand triggers the sound effect as you can see in the video below.

Instead of using a standard project box, he opted to build a small warp tube replica from cardboard and paper, which really brings everything together nicely.

While he says that the circuit is pretty sensitive, triggering at odd times or not at all, we still think it’s awesome.

Continue reading “Retro Video Games Sounds…for Your Toilet”

Real Life Super Mario Coin Block

mario_coin_block

Instructables user [Bruno] recently constructed a fun little toy that brings a bit of the Mario nostalgia out of the video game universe and into ours. His Super Mario coin block is instantly recognizable from the first Mario game and performs just as you would expect it to. Punching or tapping the bottom of the block releases coins one at a time, complete with sounds straight from the game.

The coin block is constructed from thick cardboard and wrapped in color mock ups of the in-game block. Inside, a spring-loaded tube of coins is placed above a launch arm which is also connected to a spring. A servo actuated arm pulls the launch arm down, dropping a coin from its tube on to the launch arm which is then flung from the top of the box once the servo arm rotates far enough. When this occurs, the built-in MP3 player is triggered to play the “coin sound” from the game. A 555 timer is used to ensure the servo actuated arm rotates once per activation, and a LM386-based amplifier is used to increase the output volume of the MP3 player, both of which operate using rechargeable batteries.

Be sure to check out some of the inner workings as well as the final product in the videos embedded below.

[Thanks, Samjc3]

Continue reading “Real Life Super Mario Coin Block”

Backwards Mario

So you’ve long since mastered Super Mario Bros. and it no longer challenges you? Have you tried playing it from right to left? That’s what Backwards Mario is all about. The first portion of the hack is getting the image to display backwards. He’s working with an old CRT television, which uses a magnetic ring to aim the electron gun at the screen. By swapping the left and right wires from that ring you can flip the image horizontally. Now Mario will be travelling right to left, but the controller buttons will send Mario the wrong direction on screen. This is a snap to fix, just crack open the controller and swap the signals for the left and right buttons. Now it’s time to fall in love with the classic game all over again, just like [JJ’s] doing in the video after the break.

Continue reading “Backwards Mario”