Slashdot Mirror


Mario Reduced To 8x8 With Open Source and Arduino

adeelarshad82 writes "The open-source Arduino electronics platform has received a ton of attention from the hardware enthusiast community. And one more follower is joining the fray — Mario himself. The mustachioed plumber of console video game fame has been converted into an eight-by-eight LED matrix by Carnegie Mellon University student Chloe Fan. However, the game isn't quite the Mario you know from your legacy Nintendo Entertainment System. For starters, it's just lights. While one often sees the game's LED-backed grid used in devices like the open-source Monome, where it can function as a push-button toggle for music beats and effects, Fan's version of Mario uses the grid as a display only. Mario — or rather, a one-light representation of the game's hero — is controlled NES-style through the use of two buttons. One button makes Mario move forward; the other makes him leap into the air."

94 comments

  1. Live version by suso · · Score: 5, Interesting

    I've always enjoyed this version of super mario

    1. Re:Live version by b4dc0d3r · · Score: 4, Funny

      This one's better, but it has a bit of swearing
      http://www.youtube.com/watch?v=in6RZzdGki8

    2. Re:Live version by Anonymous Coward · · Score: 0
    3. Re:Live version by Hurricane78 · · Score: 1

      You say that as if the swearing was something bad. ^^

      But hey, always remember what happened to Mario, after he got the princess:
      http://www.youtube.com/watch?v=JpBGRA6HHtY
      Poor Mario... ;)

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
  2. Re:Who cares? by Anonymous Coward · · Score: 1, Funny

    Unless you're capable of presenting your balls on an 8x8 LED matrix, I fail to see what exactly you're trying to contribute here.

  3. Just lights by Anonymous Coward · · Score: 1, Interesting

    For starters, it's just lights.

    So.. just like Nintendo's Mario game then.

  4. Two classic games combined by suso · · Score: 3, Insightful

    This 8x8 version almost looks like a combination of Super Mario and Tetris.

    1. Re:Two classic games combined by Nefarious+Wheel · · Score: 4, Informative
      There's a company called HACEDuino that makes Arduino kits if you're interested. Cheap, they sell them on Ebay out of Australia. Neat little kits, I have one myself.

      Disclosure: company belongs to a friend of mine, but I have no financial interest.

      --
      Do not mock my vision of impractical footwear
    2. Re:Two classic games combined by mrsteveman1 · · Score: 3, Funny

      You know you really don't have to disclose that sort of thing just to comment on slashdot ;)

    3. Re:Two classic games combined by CrazyJim1 · · Score: 3, Interesting

      This 8x8 version almost looks like a combination of Super Mario and Tetris

      Hmmm... I wonder what that would be like . o O http://www.newgrounds.com/portal/view/522276

    4. Re:Two classic games combined by Anonymous Coward · · Score: 0

      This 8x8 version almost looks like a combination of Super Mario and Tetris.

      You mean like this?

    5. Re:Two classic games combined by Nefarious+Wheel · · Score: 3, Insightful

      Thanks for that ;) I only really require it of myself.

      --
      Do not mock my vision of impractical footwear
    6. Re:Two classic games combined by insufflate10mg · · Score: 1

      Shhh, don't point that out. He's quite obviously/wooshviously trying to look cool by having a friend with a store.

    7. Re:Two classic games combined by suso · · Score: 1

      COOL! That's actually a pretty interesting little mashup.

    8. Re:Two classic games combined by garignak · · Score: 1

      In all fairness, there are plenty of other vendors worldwide that sell Arduinos and clones. This page lists many vendors of official Arduino and clone hardware.

      --
      "Sometimes a man's gotta do what a woman wouldn't consider." - Red Green
    9. Re:Two classic games combined by harrkev · · Score: 1

      This 8x8 version almost looks like a combination of Super Mario and Tetris.

      Bah. Call me when he has a version of Myst on an 8x8 display. I would also be suitably impressed by a port of Duke Nukem Forever.

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    10. Re:Two classic games combined by XxtraLarGe · · Score: 1

      There's a company called HACEDuino that makes Arduino kits if you're interested. Cheap, they sell them on Ebay out of Australia. Neat little kits, I have one myself.

      Apress just put out a new book called "Practical Arduino: Cool Projects for Open Source Hardware". I've been tempted to pick it up, since it looks like a pretty interesting, but wasn't too sure how expensive it would be to get into another hobby programming kit.

      --
      Taking guns away from the 99% gives the 1% 100% of the power.
  5. Great project! by santax · · Score: 1

    Give that girl a free Slashdot-Goldaccount! But really nicely done. I made a tetris with one-colored leds and a arduino but this is way cooler. Love the music on the video too (in the full article)

  6. Mario reduced to 12x16 with toaster and bread by Anonymous Coward · · Score: 2, Funny
  7. Wouldn't mind seeing a flash version of this. by mbourgon · · Score: 1

    That would be nice.

    --
    "Sometimes a woman is a kind of religion, she can save your soul & set you free from all your sins" - Bad Examples
  8. Re:wow by Spyware23 · · Score: 1

    Word.

  9. It's been done before. by Anonymous Coward · · Score: 1, Informative

    His main site is down, all I can find is an article from Hack A Day. http://hackaday.com/2009/12/08/ledboy-super-pixel-brothers/ The last version I saw even had working Goomba and Bullet Bill style enemies.

    1. Re:It's been done before. by ircmaxell · · Score: 2, Informative
      Don't forget, the Arduino is significantly more powerful than the original NES.

      Nes: 1.66 mhz, 2kb ram
      Arduino (ATMega 328): 16mhz, 32kb ram

      Not to mention that the Arduino contains a boot-loader...

      Sure, the DIY part is cool, but to say that this was a difficult feat isn't very accurate...

      --
      If a man isn't willing to take some risk for his opinions, either his opinions are no good or he's no good
    2. Re:It's been done before. by Anonymous Coward · · Score: 0

      Did you read my comment? I'm not sure how your reply is relevant.

    3. Re:It's been done before. by Anonymous Coward · · Score: 0

      The version you linked to puts the one shown in the article to shame.

    4. Re:It's been done before. by ircmaxell · · Score: 1

      Now that I re-read it, it was not relevant... I guess I was sleeping at the time...

      --
      If a man isn't willing to take some risk for his opinions, either his opinions are no good or he's no good
    5. Re:It's been done before. by bitrex · · Score: 2, Informative

      The ATMega328 only has 2KB of RAM - the 32KB is its Flash storage which holds program data since the microcontroller is Harvard architecture. The NES had 2KB plus 2KB of video RAM, plus RAM for the sprites. Even with the ATMega's higher clock rate I think replicating the performance of the 6502 in a video game system with it would be a challenge.

    6. Re:It's been done before. by Yvan256 · · Score: 1
    7. Re:It's been done before. by ircmaxell · · Score: 1

      Crap, good point. I did a quick read of the spec sheet when I posted, albeit too quick... http://www.atmel.com/dyn/resources/prod_documents/8271S.pdf

      --
      If a man isn't willing to take some risk for his opinions, either his opinions are no good or he's no good
    8. Re:It's been done before. by bitrex · · Score: 1

      It's replicating the performance of the NES, but it's using an ATMega644 with twice the memory of the 328 and overclocked to nearly 30 MHz.

    9. Re:It's been done before. by Yvan256 · · Score: 1

      To be fair, the NES doesn't have to compute its audio nor its video signals in real-time. And the ATmega644 only has 4KB of RAM, the 64KB of flash memory is for code only.

  10. Incoming by matt_martin · · Score: 0

    Nintendo lawyers in 3 ... 2 ... 1 ...

    --
    Lurking in the desert
    1. Re:Incoming by Anonymous Coward · · Score: 0

      Nintendo isn't very trigger happy with their lawyers, unlike some companies. But even if they were, there would be a million other projects out there that would be a much better candidate.

  11. Chloe Fan by GodfatherofSoul · · Score: 5, Funny

    I love you. If you had Princess Leia hair buns in your profile pic, you'd be the perfect woman.

    --
    I swear to God...I swear to God! That is NOT how you treat your human!
    1. Re:Chloe Fan by Anonymous Coward · · Score: 0

      hwelp me odi wan keonbi u awww my onweeee hope!

    2. Re:Chloe Fan by biryokumaru · · Score: 2, Funny

      One might think you were a Chloe fan.

      --
      When you're afraid to download music illegally in your own home, then the terrorists have won!
  12. Not Super Mario Bros. by esaulgd · · Score: 3, Insightful

    Other than the music, there's nothing on the game to make it "Super Mario Bros.". The player character runs and jumps over generic obstacles without making any use of SMB physics or any other distinctive elements. If anything it's closer to Pitfall.
    Then again, "8x8 platformer created with Arduino" wouldn't attract as much publicity.

    1. Re:Not Super Mario Bros. by moteyalpha · · Score: 1

      The electronics and programming may be fairly rudimentary for an EECS major , but the the fact that she is a cyborg and can do this is what surprises me.

    2. Re:Not Super Mario Bros. by Anonymous Coward · · Score: 0

      Apparently level design doesn't count as a distinctive element.

    3. Re:Not Super Mario Bros. by RMS+Eats+Toejam · · Score: 0

      Change the character to a blue light, make the display scroll really fast and call it "Sonic the Hedgehog".

      --
      Turning to a Linux advocate for thoughts on Microsoft is like asking Hitler how he felt about the Jews.
    4. Re:Not Super Mario Bros. by Kingrames · · Score: 1

      If I had created a game that was a(n?) homage to some game I liked back in the day, I'd call it that, and not something I hadn't intended it as.

      I see it as appropriate here.

      --
      If you can read this, I forgot to post anonymously.
    5. Re:Not Super Mario Bros. by cmonkey_1973 · · Score: 1

      But, for a lot of the younger generation a platformer means Super Mario Bros just as a hoover means a vacuum cleaner. While not anywhere near the legal definition of a generic trademark, there really are no other 2d platformers that they will have been exposed to.

    6. Re:Not Super Mario Bros. by daveime · · Score: 1

      There's no need for the (n?).

      The word starts with a consonant, and just because Americans seemingly can't pronounce the letter H, doesn't mean you have to lower yourself also.

      A Homage, not Anomage. Your children will thank you.

    7. Re:Not Super Mario Bros. by pinkushun · · Score: 1

      From a coder's POV this is a great example of input/output processing on Arduino!

    8. Re:Not Super Mario Bros. by Anonymous Coward · · Score: 0

      "a" or "an" depends on pronunciation, not spelling. And both "HOM-age" and "OM-age" are valid pronunciations. And silent h is a British thing, so I don't know what you're talking about.

    9. Re:Not Super Mario Bros. by Mr.+Slippery · · Score: 1

      There's no need for the (n?). The word starts with a consonant, and just because Americans seemingly can't pronounce the letter H, doesn't mean you have to lower yourself also.

      The "h" in "homage" is silent in the preferred pronunciation. So if you're using the preferred pronunciation it's "an homage", just like "an hour"; but if you're using some dialect where the h is pronounced, "a homage" would be correct.

      So either could be ok here, but I have a strong urge to punch people who say "an historic occasion" or "an hallucination". These are just wrong, unless you are a Cockney aitch-dropper. Such bad grammar does not leave me an happy camper.

      It's a simple rule: "an" before vowel sounds, "a" before consonants. The "n" in "an" is exactly there to hold vowels apart; if you don't have adjacent vowels (sounds, not symbols) in your phrase, it's redundant.

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    10. Re:Not Super Mario Bros. by Anonymous Coward · · Score: 0

      Both "a homage" and "an homage" are acceptable. "An homage" is antiquated but still proper English.

  13. Don't forget... by Anonymous Coward · · Score: 0, Funny

    ...all the drool. HUGE bonus, no risk of sandpaper-tongue.

  14. Re:Who cares? by Anonymous Coward · · Score: 0

    Boston accent + lisp (likely a retainer or braces?). Get over it.

  15. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  16. Eh... by walkeraj · · Score: 0

    It's cute, but not terribly impressive. There's only rudimentary scrolling of a map that is entirely hard-coded, no movement other than the blocks representing the world and the player itself (which is locked to a specific column that can only decrease). It might be a bit more of a technological achievement if the music was coming from the same board, but it's a totally separate, single purpose board.

    --
    Those days are dead and gone and the eulogy was delivered by Perl. --Rob Pike
  17. Re:A few problems by santax · · Score: 1

    I don't know if she has implemented it, but you could easily by applying different colors to different objects.

  18. Re:A few problems by Anonymous Coward · · Score: 0

    RTFA or WTFV, you'll get the point that it's not exactly a faithful reproduction.

    *puts on woosh hat for the inevitable*

  19. Re:Who cares? by Yvan256 · · Score: 4, Funny

    Most of the 8x8 LED Matrices use round LEDs, so I don't see any problem with your request.

  20. Uzebox by Yvan256 · · Score: 1

    Based on an overclocked and more powerful Atmel, but a lot more impressive given the hardware. http://belogic.com/uzebox/

    1. Re:Uzebox by Anonymous Coward · · Score: 0

      This. The Arduino is nothing but a toy for geek-poseurs. Has anyone *ever* used and Arduino for *anything* other than making some LEDs flash?

  21. slashdotted -- new links by Anonymous Coward · · Score: 0

    Here's her Vimeo demonstration.
    http://vimeo.com/9928343 ...and another guy's demonstartion of the same thing, Sept 2009
    http://www.youtube.com/watch?v=cB6vSHDDdhI

  22. Meh, I prefer Dodgy Kong by MyFirstNameIsPaul · · Score: 1
    --

    I once took an excursion to Reddit, and later HN. Unlimited up/down voting sucks when dealing with a hive-mind.

  23. meh. by Anonymous Coward · · Score: 0

    Annoys me that i've seen this story 3 times in the past 2 weeks with no mention of the better, earlier version by some guy in his spare time.
    LEDBoy
    http://hackaday.com/2010/02/19/update-most-interesting-game-in-64-pixels/
    http://www.bradsprojects.com/

    his site is down atm.

  24. Doesn't everyone getting a BSEE do this? by gront · · Score: 1
    Seriously, in a microcontrollers class, whether its a stamp, HC12, 8051, whatever, isn't the final project at this level of neato? Not sure why this story is noteworthy, especially because it's not really identifiable as SMB other than the first few blocky shapes might be identifiable as the terrain of level 1-1. Most iPhone apps are more impressive.

    About the only thing that is slashdotty is that the electronics platform is open source electronics, but I'd rather see an article about an open source rapid prototyper like http://fabathome.org/wiki/index.php?title=Main_Page than someone's EE311 project.

    1. Re:Doesn't everyone getting a BSEE do this? by paul248 · · Score: 1

      It was deemed newsworthy because:

      1. There's a video.
      2. A girl made it.

    2. Re:Doesn't everyone getting a BSEE do this? by TerranFury · · Score: 1

      Yeah, this is on the level of an ENGS62/31 project, and I'd hope that most EEs would be able to do this by the time they graduated. Still, as such projects go it's pretty good; if I were teaching a course at that level and a student handed this in as a final project she'd get an A on it.

    3. Re:Doesn't everyone getting a BSEE do this? by dimeglio · · Score: 1

      I don't understand the pertinence or relevance of open source hardware. When you purchase electronic components, you pay for the licensing costs of these components as part of the purchase price (in this case Atmel). What you do with these components, especially if you wish to market your product, is still subject to existing or prior patents - for example the plant hydrometer from TFA. I must be missing something so thank you for enlightening me.

      --
      Views expressed do not necessarily reflect those of the author.
    4. Re:Doesn't everyone getting a BSEE do this? by TerranFury · · Score: 1

      I guess that the availability of schematics and hardware specs makes it easier for people who want to write drivers; I can't see much broader (say, legal) significance than this. Of course, I'm not a lawyer.

  25. DHS response: by Tablizer · · Score: 2, Funny

    It's a bomb! Lock her up and probe her anus immediately!

  26. Fail Repeat by Anonymous Coward · · Score: 0

    Hack-a-Day ran this thing many times in various stages over the last few years. Far from original or difficult especially with one of those effin' arduinos.

  27. Misleading title, not just 8x8 by Anonymous Coward · · Score: 0

    Display resolution is actually 8x8x3 because it has 3 states. Off, low brightnes, high brightnes.

  28. Some other plays on video games by RAMMS+EIN · · Score: 1
    --
    Please correct me if I got my facts wrong.
  29. Wicked cool. by ArundelCastle · · Score: 2

    Awesome job. Now, finally, can there never be another "girl gamers don't exist" joke? Can we please turn that corner in 2010?

    1. Re:Wicked cool. by insufflate10mg · · Score: 1, Funny

      No.

      Girl gamers don't exist.

      There's no computer or video game console in the laundry room nor the kitchen.

  30. Re:Who cares? by Philip_the_physicist · · Score: 1

    And his are probably small enough to be represented life-size.

  31. What's it with Arduino, anyway? by RichiH · · Score: 1

    From my pov, it went from "did not know it existed" to "why is everyone so excited" pretty much over night. I don't get it and would appreciate it if anyone told me why this particular bit of hardware hit home so hardly.

    1. Re:What's it with Arduino, anyway? by kobaz · · Score: 5, Informative

      From my pov, it went from "did not know it existed" to "why is everyone so excited" pretty much over night. I don't get it and would appreciate it if anyone told me why this particular bit of hardware hit home so hardly.

      Because when I was in EE classes in college it took weeks (probably faster for someone who knows what they were doing) to build up projects using ICs and little microcontrollers. The microcontrollers also had to be programmed with a UV eraser and reprogrammer, which required having a printout of the machine code in hex, and typing it all by hand into an eeprom programmer.

      Now with the Adruino, you get a USB interface to a very cool little chip that you can upload C code on to. There's also bunches of modules (shields) that you can link together to create your project. Ethernet modules, wireless modules, input device modules, output device modules (led/lcd screens). All these boards can work together in harmony... versus building all this stuff from scratch with the basic components. They are also quite cheap compared to what it would cost to build from scratch.

      --

      The goal of computer science is to build something that will last at least until we've finished building it.
    2. Re:What's it with Arduino, anyway? by dissy · · Score: 1

      I share the GPs opinion, just for different reasons.

      The Arduino is a good decade behind the times as far as all the features you list.
      It's hard to get excited about a product that does what a lot of us in the micro controller field have been doing back in the early 90s using PIC and basic stamps and SX chips and the like.

      Full micro controller hardware on one chip (CPU, ram, flash, timers and clocks, interrupts, and external hardware modules made just for the chips packaging)

      While the PIC is a poor example (Many shortcomings that are addressed by devices like the basic stamp, SX, and arduino products), all can be programmed in a high level compiled language (typically more than one language to choose from), or even directly in assembly, depending on your project needs.

      To me it isn't a big deal, but not because of lack of interest or dislike of the concepts it brings, just that we've been doing all this for over 10 years already and there are almost no improvements that Arduino brings to the table right at the moment, although it seems cost will be a major selling point soon, as they are already price competitive and still dropping.

    3. Re:What's it with Arduino, anyway? by introspekt.i · · Score: 1

      It's a platform for hobbyists and kids, not for those in industry, clearly. The learning curve is incredibly shallow for people who have no experience with this stuff. For many, it's a great starting point.

    4. Re:What's it with Arduino, anyway? by cecom · · Score: 1

      The rest of your post notwithstanding, the beginning is seriously misleading. Surely if you had a printout of the machine code, you also had another way of transfering it to the eprom programmer, like a serial cable. I have developed a few projects like that back in the day - no debuggers, you had to pipeline eprom erasing and programming to save time, etc, but it wasn't nearly as hard as you make it to be.

    5. Re:What's it with Arduino, anyway? by KenSeymour · · Score: 1

      It may be no big deal to someone who has been working in embedded systems for a while, but it lowers
      the barrier of entry for the rest of us.

      I am just starting to get into micro controllers. At work, I have worked on PIC18 and PIC24.
      For either of those two, you need an ICD 2 or ICD3 to get your code into them. That will set you
      back a good $200. Alternatively, you can find a board with a serial boot loader. Then there
      is the C compiler. The unrestricted one will set you back another $500.

      By contrast, the Arduino board costs about $35. It can be programmed with a USB cable. The IDE
      environment can be downloaded free. Your grand total to play around with micro controllers, about $45.

      Another difference is the Arduino programming environment hides lots of details like fuses and clock
      speeds and such. I found it quite difficult to get a PIC18 serial port working without getting out
      an oscilloscope to actually measure the baud rate coming out of the UART because careful reading
      of the data sheets and reviewing the CPU clock configuration didn't get me to 9600 baud.

      After fighting the PIC all day for pay, when I get home and I just want to get my robot project working,
      it is nice to have the simple Arduino environment to interact with instead. Apart from kits for hobbyists,
      I am unaware of commercial applications for Arduinos. But there is more to life than work.

      To get an idea of how much fun people have with Arduinos, do a youtube search for Arduino.

      --
      "We can't solve problems by using the same kind of thinking we used when we created them." -- Albert Einstein
  32. Re:Who cares? by Anonymous Coward · · Score: 0

    I think that was his point.

  33. Impressed? I Should Be Impressed? by Toad-san · · Score: 1

    Hardly.

    Now "Kamikaze Ducks" impressed me. BASIC source (in some old old computer hobbyist magazine back around 1982 or so), which I ported to every computer (from DEC mainframe to Commodore 64) I had access to.

    But a single pixel "jumping" up and down, a static "terrain" (e.g., blocks) that can move left to right?

    And this girl's in college?

    If she were 9, I'd be impressed.

  34. Braille Mario by Anonymous Coward · · Score: 0

    I've always thought this game (and space invaders!) would translate pretty well to an 8-dot refreshable braille display (like this one.) Yes, there would be some awkward gameplay questions, like how does the user keep track of the whole board, but come on -- it's not like there's a lot of other game options for this platform.

  35. Still waiting for 8x8 Modern Warefare 2 by SlappyBastard · · Score: 1

    Because let's be honest: with a game you can win my just repeatedly jamming the buttons for hours on end, it's not like screen resolution matters.

    --
    I scream. You scream. I assume that means we're both acquainted with the problem. We proceed.
    1. Re:Still waiting for 8x8 Modern Warefare 2 by introspekt.i · · Score: 1

      I get the same thing from Tekken or Street Fighter. Granted, the buttons have to stand up to me palming all 6 of them repeatedly with a lot of intensity.

  36. FFS by Anonymous Coward · · Score: 0

    Hook up a real Nintendo controller to it

  37. Been done before by Anonymous Coward · · Score: 0

    anyone ever heard of super pixel bros from December? http://hackaday.com/2009/12/08/ledboy-super-pixel-brothers/

  38. Re:Who cares? by MobileTatsu-NJG · · Score: 2, Insightful

    What's up with her voice? She's obviously intelligent, but she talks like she has down syndrome.

    Thank you for helping maintain American stereotypes, jerk.

    --

    "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)