News for hackers. Stuff that matters.
Re:NgMario by StevePerkins on Saturday October 04, 2014 @08:45AM (#8409362)
I don't get it. The GitHub byline proclaims, "Learn AngularJS playing Super Mario Brothers". So I wondered if this would be yet another browser implementation of Mario, this time using AngularJS in some fashion? Or perhaps it would be like "vim-adventures.com", where you learn Vim editor commands by using them to play a video game?

It's neither. This seems to be nothing more than a very primitive PowerPoint slide deck, with slide transitions activated as you progress through an unrelated video game. The "Mario" hook is meaningless clickbait.

Moreover, this will almost certainly receive a DMCA takedown within the next couple of days. It seems buggy to boot... stomping on the first turtle brought up slides, and no keypress closes the slides and returns to the game.

Re:NgMario by orbitur on Saturday October 04, 2014 @08:59AM (#8409387)
Use the right arrow to go through the slides. Each enemy has between 1 and 3 it seems.
Re:NgMario by pyre on Saturday October 04, 2014 @09:49AM (#8409472)
You can also use <space> to go forward and <shift>-<space> to go backwards through the slides.
Re:NgMario by hackmiester on Saturday October 04, 2014 @01:17PM (#8409929)
I am not sure how I am supposed to figure this out by looking at the app. Also, I am using the browser's "back" button to close the slide and continue playing because I don't know how to do it. I guess I do not understand what is going on.
Re:NgMario by click170 on Saturday October 04, 2014 @02:48PM (#8410182)
It's not just you, I'm in the same boat.

I'm not sure if I was doing something wrong but once I jumped on an enemy I couldn't do anything except click a link in the in-game popup. The arrow keys and spacebar didn't do anything at that point, I had to reload.

Re:NgMario by aikah on Saturday October 04, 2014 @05:11AM (#8409129)
You know you cant just steal assets from a commercial game and post it on github right? afaik github may not only close that repo but also close your account. Not worth the risk if you built any kind of social identity around your github account.
Re:NgMario by gjtorikian on Saturday October 04, 2014 @05:43AM (#8409158)
GitHub is not going to close your account. Like all other repo closures, it'd take a DMCA notice from Nintendo to close the repo, which is unavoidable by law (no matter where you host it, The Lawyers will come).
Re:NgMario by Nullabillity on Saturday October 04, 2014 @08:24AM (#8409339)
By american law. While the principles are pretty much the same worldwide, the implementations vary.
Re:NgMario by jeffreyrogers on Saturday October 04, 2014 @10:14AM (#8409529)
That's the relevant law though, right?
Re:NgMario by Nullabillity on Thursday October 09, 2014 @06:24AM (#8431542)
> no matter where you host it, The Lawyers will come
Re:NgMario by Corrector2 on Saturday October 04, 2014 @08:42AM (#8409355)
Unless a Github employee happens to have a personal difference of political opinion with one of the committers.
Re:NgMario by rtpg on Saturday October 04, 2014 @06:15AM (#8409184)
This example might be fair use, though.
Re:NgMario by Luc on Saturday October 04, 2014 @07:51AM (#8409302)
It's not transformative, it's 100% derivative.

It's not a parody.

It's apparantly for educational use (AngularJS) but not every educational use is fair (could have easily used different sprites).

It's a straight up copy of artwork that's copyrighted and trademarked without any doubt.

Its use of copyrighted art is not limited to a small percentage of the work, it's 100% of it.

Re:NgMario by tedunangst on Saturday October 04, 2014 @07:32AM (#8409280)
How so?
Re:NgMario by ZenoArrow on Saturday October 04, 2014 @11:23AM (#8409680)
Nice idea, but there's a bug. Using the cursor keys controls both Mario and the camera, so for example when I press the right cursor key sometimes Mario moves, sometimes the camera moves. Of course the correct behaviour is for the cursor keys to only control Mario, and the camera position to be determined by Mario's position on screen. I'm using Firefox 32.0.3 (i.e. the latest stable build).
Re:NgMario by mlex on Saturday October 04, 2014 @04:22AM (#8409060)
The level itself seems to scroll while I move with the arrow keys. Bug?

Also, given the outcome of the HTML5 Mario[1], I have my doubts this will stay up long. Pretty cool though!

1. https://news.ycombinator.com/item?id=2796627

Re:NgMario by doty on Saturday October 04, 2014 @10:05AM (#8409508)
I thought this was satire-- a statement about advertisement-funded games and the way they afflict us in our modern times.

I was about to come over here and say "ha ha, nice work guys" before I read the comments and realized that the pop-ups were not ads, but were in fact supposed to be teaching me something.

Still, though, nice satire.

Re:NgMario by turnip1979 on Saturday October 04, 2014 @10:10AM (#8409518)
I was also confused by the pop-ups. Didn't make sense. Nice Mario clone though.
Re:NgMario by bastawhiz on Saturday October 04, 2014 @01:36PM (#8409972)
I literally can't get past the first two goombas because shit keeps popping up and capturing my keypresses. "HOW TO STRUCTURE AN APP?" HOPE YOU WEREN'T PLANNING ON PRESSING ANY OTHER KEYS FOR A FEW SECONDS LOL
Re:NgMario by nanoscopic on Saturday October 04, 2014 @09:25PM (#8411150)
This is blatant abuse of Mario, their copyrighted assets, etc. I approve of it being reported to NOA. Additionally, who exactly is going to play this?

It doesn't use Mario in any meaningful way to help teach anything.

Mario teaches typing; that was cool. That was also approved and endorsed by Nintendo.

Get a life and create your own game instead of ripping off others.

This may seem harsh, but such blatant abuse of law does not belong on github nor on hacker news. Not only that, I'd be willing to bet this is a fork of the Mario games that were long ago taken off the web for similarly illegality.

Re:NgMario by juanmnl on Saturday October 04, 2014 @09:56AM (#8409487)
Came to play and "learn" > left annoyed as f
Re:NgMario by _kushagra on Saturday October 04, 2014 @01:20PM (#8409937)
I like the idea but the execution was not great. I would've preferred a slideshow instead of this because at first, I didn't know that killing an enemy would show up specific slides. So skipping an enemy means skipping the slides associated with it.

Maybe you can port it to slid.es or something similar and it will be a much more valuable that way.

Re:NgMario by reboog711 on Saturday October 04, 2014 @10:52AM (#8409616)
Mario doesn't show up on Firefox; so the whole thing was pretty confusing to me.

It makes slightly more sense when I try it in Chrome, and see Mario and can see the slides everyone else is talking about.

Re:NgMario by okbake on Saturday October 04, 2014 @01:34PM (#8409965)
Similiar issue here. I was able to see Mario in firefox, but not the slides. Also the arrows were scrolling and moving mario at the same time, which made it impossible to "play".
Re:NgMario by scottydelta on Saturday October 04, 2014 @08:42AM (#8409356)
Re:NgMario by tdicola on Saturday October 04, 2014 @03:37AM (#8409012)
Haha wow, that is pretty cool. Nice job!
Re:NgMario by KyleSanderson on Saturday October 04, 2014 @02:05PM (#8410056)
Use WASD to move just Mario, hit the back button on your mouse to play the single level.
Re:NgMario by mrcactu5 on Saturday October 04, 2014 @11:53AM (#8409747)
I am stuck. It gives me a tip about AngularJS and then I can't continue playing
Re:NgMario by hackmiester on Saturday October 04, 2014 @01:18PM (#8409933)
Hit the back arrow on your browser.
Re:NgMario by jprince on Saturday October 04, 2014 @12:32PM (#8409836)
Secret level at the end of you keep replaying the last two slides over and over.
Re:NgMario by atmosx on Saturday October 04, 2014 @04:44AM (#8409092)
I'm impressed :-p bravo!
Re:NgMario by ctdavies on Saturday October 04, 2014 @02:32PM (#8410136)
I just want to play Mario
Re:NgMario by levlandau on Saturday October 04, 2014 @03:42AM (#8409018)
This is pretty neat
Re:NgMario by stefan_kendall3 on Saturday October 04, 2014 @01:46PM (#8410002)
Contacted [email protected] with Author's name, website, github repro, contact information.
Re:NgMario by smclaughlin on Saturday October 04, 2014 @01:52PM (#8410019)
Thank god the internet has white knights like you around.
Re:NgMario by stefan_kendall3 on Saturday October 04, 2014 @02:05PM (#8410060)
This is publicity for the author, which is obviously something he's using for commercial gain.