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”

X-Labs Hackerspace Completes A Big 2-year Tesla Coil Build

It’s a bit difficult to estimate the size of the Tesla coil from this picture, but look closely at the hand rail on the red-orange wall to the left and that helps. The 10-foot tall musical Tesla Coil project has been on-going for about two years. But the team at X-Labs — a hackerspace affiliated with the University of South Florida — finished it just in time for the University’s engineering expo later in the month. There’s some information about it to be found in the recent student newspaper article on the project. A lot more build details are found on the groups website, although that post is quite old.

You can’t call it a musical coil unless there’s a demo video, and that can be seen after the jump. What better to test the thing than by playing the Super Mario Bros. theme? We’re actually more partial to the Imperial March (it’s also fun to hear played on stepper motors).

Continue reading “X-Labs Hackerspace Completes A Big 2-year Tesla Coil Build”

Kitchen Timer Makes Mario Your Sous-chef

[Alan] was unimpressed by the cheap ticking egg timers that grace many of our kitchens. He decided this was an execllent opportunity to ply his skills with microcontrollers. He built this kitchen timer complete with an enclosure and audible alarm.

The device is Arduino based, which makes driving the graphic LCD quite easy thanks the libraries associated with that platform. As you can see above, his user interface makes use of virtual buttons – three tactile switches whose function is listed at the top of the display.

But we think the alarm sound really earns this a place in his kitchen. He used the same hardware as that that Super Mario Bros. Toilet project to play classic video game sounds when your soufflé needs come out of the oven. We haven’t come across them ourselves, but apparently there’s a line of key chains for sale in Japan (yes, we need to plan a trip there!) that have the tunes programmed into them. They’re easy to crack open and it beats dealing with a speaker and amp circuit.

Hackaday Links: April 16, 2011

Induction cook top provides power too

We’re familiar with induction cook tops but we never thought to power a microcontroller with one. [Thanks Hadez]

Ping-Pong Uranium

We’ve been big fans of the chain reaction demonstration using ping-pong balls and mouse traps ever since we saw [Mr. Wizard] do it back in the day. If you don’t know what we’re talking about, check out this demonstration that is analogous of a fission reaction. [Thanks nateL]

Phone tripod enclosure

If you’re interested in using your smart phone for some photography, [Mike] has a nice wood and elastic mount for an iPhone which you might try yourself.

Bicycle snow tires

Admittedly we’re a bit late on this one. But keep it in mind for next year: you can use some zip ties for added traction on your bike when it snows. [Thanks Rob]

Now you can BE mario

A little Kinect script lets this gentleman play Super Mario Bros. with his body. Now you can have all the fun that goes along with being a pixellated character stuck in a two-dimensional environment (plus, there are shrooms). [Thanks Das_Coach via Slashdot]

AI Via Super Mario Evolution

Can Super Mario teach you to think? That’s the idea behind using a simple version of the game to teach artificial intelligence. [Oddball] calls this The Mario Genome and wrote at program that can take on the level with just two controls, right and jump. He gave the script 1000 Marios to run through the level. It then eliminates the 500 least successful and procreates back to 1000 using the 500 most successful. In this way the program completed the level in 1935 generations and completed it in the quickest possible time in 7705 generations. He’s posted the script for download so that you can try it yourself. It’s an interesting exercise we’d love to see applied to more random games, like Ms. Pac-Man.

[via Reddit]

Halloween Prop: Mario Bros. With Full Sound Effects

Creativity abounds in putting together this pair of Super Mario Bros. costumes. [Rob] and his wife didn’t stop with a well-assembled troupe of familiar wardrobe items, but decided to go for authentic sound effects as well. It started by finding a few of his favorite Mario sounds on the Internet. From there he grabbed a greeting card that allows you to record several message. He recorded each of the sounds and removed the electronics from the card. From there an Arduino mini was connected to the playback buttons and to a Wii nunchuck. After the break you can see that when the kids press a button, the card plays back the sound of jumping, shooting fireballs, etc. So far it’s the best use of an audio greeting card that we think eclipses its intended use.

Continue reading “Halloween Prop: Mario Bros. With Full Sound Effects”

Theremin Controlled Mario

[youtube=http://www.youtube.com/watch?v=YnZeI8uLJnw]

In the video above, [conquerearth] is using a theremin to control Super Mario Bros. Moving his hand toward and away from the vertical antenna increases the theremin’s pitch. The computer monitors this in real time and moves Mario left and right. The loop antenna controls the theremin’s volume and acts as the jump button. The controls seem to work well, much better than the sound of one man flailing at a theremin.

[via Gizmodo]