Live data from Hacker News

A recreation of the first level of Super Mario Bros. in Python

github.com

51–56 of 56 posts

Re: A recreation of the first level of Super Mario Bros. in Python

#51

Earlier quoted context omitted.

Going the opposite direction would be much more deserving IMHO; e.g. trying to fit a Flappy Birds clone in a few hundred bytes or something like that.

That would require skills. Also it's not "fun". It's not "fun" to be caring about optimizations or type-safety or general correctness and elegance.

> Also it's not "fun".

But it is fun. It's called "working for hack value"!

Re: A recreation of the first level of Super Mario Bros. in Python

#52
post #25
post #23

https://github.com/justinmeister/Mario-Level-1/blob/master/d... Line 134 & 135. Lol?

You can highlight multiple lines: https://github.com/justinmeister/Mario-Level-1/blob/master/d...

Code is still clean, just has the wrong name.

Re: A recreation of the first level of Super Mario Bros. in Python

#53

Personally, I prefer mari0. It's mario with a portal gun. It's written in Lua using LÖVE, it's really cool. http://stabyourself.net/mari0/ https://love2d.org/

Whoa. Glad I came in here if for no other reason than to see this. I always get a kick out of people copying quirky new mechanics onto other games to see what happens.

Re: A recreation of the first level of Super Mario Bros. in Python

#54
post #5

Earlier quoted context omitted.

This may qualify as fair use, and in any case it's not like this is going to jeopardize sales of the 29 year-old Super Mario Bros or any of it's derivatives.

If your position is "may", you're on shaky legal ground at best. Regardless, he would be forced to shutter his side project with a CnD, since I doubt he's willing to go to court.

His homebrew version, for self education does way less harm than the millions of ROMs out there running on MAME. It is a single level, not a full clone that gets sold for profit at Target.

Re: A recreation of the first level of Super Mario Bros. in Python

#55

So I created this project (I just found out this morning someone posted it here). To answer a few questions: 1) DMCA/Copyright: I have no idea the legal grounds for this sort of project. There is an Javascript/HTML5 version of Mario that is much better and more complete than mine and it still exists on Github. If I get a takedown notice, I suppose the only people who lose out are people other than me who want to chec…

So my two cents. Awesome job. I wouldn't have been able to approach anything like this five months after I started teaching myself to code.

I don't know how anyone could watch the vid and be so cynical about the choice of game, language or library. It's a clear example of autodidactic exploration.

Have you seen the portal gun mario? [1] (I hadn't until five minutes ago; link stolen from a comment down the page here: https://news.ycombinator.com/item?id=7284719 )

Might be interesting to think of different and/or bizarre ways you could potentially alter the game mechanics as you go along to create a new experience. I like those kinds of exercises because they help me think about structuring things in a decoupled way so I can arbitrarily modify part of the mechanics without having to rewrite everything. Might be a cool/informative exercise if you keep playing with the game.

Either, cool project.

[1] http://stabyourself.net/mari0/

Re: A recreation of the first level of Super Mario Bros. in Python

#56
post #28
post #8

Earlier quoted context omitted.

Also the palette shifting that they used to get different colors out of the same assets.

Why do you want to see these things? These are adaptations to the platform that the original game was developed on (and its limitations). What would be the purpose of reproducing those limitations in a new implementation for a completely different platform?

I'd like to see it because it would be cool. Why implement the game at all in another language? Why not just play the game on the Nintendo, or distribute a ROM for use with an emulator?
Post reply on HN