10 ms·
Vim-Mario: Mario on Vim
- txutxu 6y agoThis is art. Did expect a much longer (and less clear) source code. A really inspiring project, thanks! Of course, there is emacs-nes (a full NES emulator in emacs lisp).
- jgilias 6y agoDecided to try Doom Emacs a few days ago as a long-time Vim user. Man... Any comparison between the two is completely besides the point. Vim is a great text editor that one can extend. Emacs is a computing environment that happens to revolve around text. The tools are simply in different categories altogether.
- globuous 6y agoThis. Exactly what I thought when I switched from Vim to Emacs a few days ago. They are not comparable, I was mind blown when discovering Emacs. Of course the first thing I installed was Evil, but they are two entirely different beasts indeed! Enjoy your emacs journey mate ;)
- jgilias 6y agoYou too! I already see myself sticking with it. Not that I'd delete my .vimrc though. That is still the preferred choice to just 'quickly edit this file here'.
- ashton314 6y agoThat's probably the best succinct summary of the differences I've seen. You've definitely got a better mental model of Emacs than I did when I first started using it. Welcome to the Emacs party! I hope you like it here. :) I like thinking of Emacs as a running Lisp REPL that fires off different functions depending on what key I press. If you haven't seen this already yet, run `C-h k` (describe-key) which will tell you the Emacs Lisp function behind a particular keystroke. You can then call that function directly with `M-: (emacs-function-here) RET`.
- commandlinefan 6y agoAs a long-time (decades) vi user, I decided once to force myself to use Emacs for a full year just to see what people liked about it. I have to tell you - I was so relieved when my year was up and I could go back to vi. I never "felt" emacs no matter how much time I spent using it.
- coliveira 6y agoI was a knowledgeable emacs user and felt the same thing when I finally started using vi. Emacs is like carrying around a foreign OS to do text editing. Vi is a tool that has been designed to blend into the system.
- daptaq 6y agoVi is the editor of the Unix programming environment (among other things the shell). Emacs is a shell, that introduces a different kind of programming environment. The OS is still Unix, it's wrong to say that it is it's own thing, but you relate to it differently, but neither is inherintly "better" fit for *nix in the abstract, it's just that the shell is more popular since it was historicall the default UI.
- dotancohen 6y agoVI is a text editing language, and the VIM and NeoVIM implementations are terrific. Emacs is a text editing platform, but its text editing language is good for writing only. Not good for editing, not good for copying or moving code, not good for navigating, not good for working with brackets or parenthesis despite the lisp language being almost native to Emacs. My recent exploration into org-mode introduced me to Evil. It's 95% of the VI language, in an amazing text editing platform. I'm currently only using Emacs for org-mode right now, but suddenly new worlds are opening. For instance, I've been looking for a good tool to navigate CSV files from the CLI (or any other keyboard-controlled environment) for over two decades. I'm not yet explored the possibilities with Emacs, but I'm told they are good. Then possibly browsing simple websites, such as HN and Wikipedia, maybe a better Git interface, maybe a good Telegram / Slack / IRC combined messenger, maybe a good email reader. Suggestions welcome!
- stirner 6y ago> Emacs is a computing environment that happens to revolve around text. And it’s usually embedded in another computing environment that happens to revolve around text called UNIX. If only the scripting language of the latter was as elegant as Lisp...
- dschep 6y agoI got really far in reading the comments in response to this before I realized Doom Emacs wasn't an implementation of the video game in emacs lisp.
- jgilias 6y agoHaha! In think they called it that way because you do use the space key very often. Much like in the game.
- bitwize 6y agoC&D from Nintendo in 3... 2... 1...
- atty 6y agoFor anyone who doesn’t know, Nintendo last year (or the year before) sent a C&D to a really cool fan made Mario Battle Royale game. Then this year they released a game in a similar vein this year. While it’s their right, Nintendo has a history of being EXTREMELY litigious and hostile to their fan-base, almost Disney-like. And yet, in spite of that they’re probably still the video game company with the greatest customer goodwill, mainly based on the Mario, Zelda and Pokemon series, if I had to guess (although technically Pokemon is a joint venture between Nintendo and a few other companies).
- boogies 6y agoI was a Nintendo fanboy during the Iwata era. IIRC he owned a majority of their stock, so pleasing investors meant pleasing him. And that seemed to involve very cautiously dipping their toes in micro-transactions (eg. Rusty’s Real Deal Baseball), and maybe generally being fairly customer friendly in a few other areas.
- Hamuko 6y agoIt's not just Nintendo. https://www.youtube.com/watch?v=hqwP6uuYOWo&t=3m26s https://www.youtube.com/watch?v=hqwP6uuYOWo&t=3m26s
- tobyhinloopen 6y agoNintendo lawyers incoming. People never learn
- yskchu 6y ago> Nintendo lawyers incoming. People never learn The last commit is from 6 years ago so, it has been up for 6 years, why do you think Nintendo will suddenly take action now?
- echelon 6y agoThe minute Nintendo finds out about something, they act aggressively. They fiercely defend their IP. Compare that to Sega, which loves and almost endorses fan content. Look at the Sonic fandom for instance. They have their own original content, games, music, etc. Nintendo crushes use of their IP.
- LocalH 6y agoNintendo is strange about it, though. They usually only C&D projects bring their IP to other platforms (discounting emulation for a bit since emulation doesn’t directly infringe). They have allowed numerous ROM hacks to exist completely unimpeded. If Mario Royale had been a combination ROM hack and LUA script/custom emulator, it’d probably still be around. I’m honestly surprised I haven’t heard much about them going after the SM64 ports.
- city41 6y agoThe SM64 ports were reverse engineered. I'd be curious what grounds Nintendo had to stop them.
- LocalH 6y agoIt probably helps that, like with several authorized source ports, a separately-acquired copy of the original game assets are required. I’d imagine some of the enhanced ports (that provide upgraded models and textures) would be more legally shaky, and there must be some other good reason why they wouldn’t go after them.
- krebs_liebhaber 6y agoI've always found Vimscript (and Elisp, for that matter) to be an extremely unpleasant language to do anything in - which makes this all the more impressive. Like building a house out of toothpicks and wasabi.
- htor 6y agonice try
- kiwicopple 6y agoGood luck quitting this game. /s https://stackoverflow.com/questions/11828270/how-do-i-exit-the-vim-editor https://stackoverflow.com/questions/11828270/how-do-i-exit-t...
- voldacar 6y agoLol what a funny joke. It's really hard to exit vim, guys! Heh, I've never heard that one
- kiwicopple 6y agoIt was intended to be a pun on the addictiveness of gaming, but point taken.
- dkneeland 6y agoNo worries. If it helps I thought it was funny <3
- NewOrderNow 6y agoThis is awesome though Nintendo loves to sue people and this is on github...
- McDyver 6y agoIt's-a Vim, Mario!
- noman-land 6y agoHow to I shoot a fireball?
- ilovetux 6y agoTo be fair, the original Mario Bros. [0] didn't have fireballs either. You're probably thinking of Super Mario Bros.[1] which introduced a ridiculous number of new features and concepts. [0] https://en.wikipedia.org/wiki/Mario_Bros https://en.wikipedia.org/wiki/Mario_Bros. [1] https://en.wikipedia.org/wiki/Super_Mario_Bros https://en.wikipedia.org/wiki/Super_Mario_Bros.
- deleted 6y ago[deleted]
- lwigo 6y agoWith all this talk about Nintendo and their ruthless lawyers, how does something like the PokeAPI stay up?
- system2 6y agoHere I am avoiding Vim like a plague and using nano, people write Mario in it. Amazing stuff.
- jpxw 6y agohttps://vim-adventures.com/ https://vim-adventures.com/ This helped me pick up the basics. Vim isn’t that scary, really. It’s very possible to learn 90% of the editor in a few months. Fwiw, what really made me learn Vim properly was doing a project (not a work project) solely in Vim, from start to finish (with multiple languages involved). If you’re editing text regularly, Vim (or indeed Emacs) will be much nicer use than nano.
- opk 6y agoI don't really think playing a game with hjkl for movement is necessarily all that helpful. Moving around in a more conventional editor can often be done by relying on key repeat and holding down cursors. I still sometimes do that even in vim if feeling lazy. hjkl are far better learnt individually in the same manner as any other keystroke. And most movement is done with keystrokes targeted to get where I want to go quickly.
- rtkaratekid 6y agoYeah, just use vimtutor!!
- Flocular 6y agoexiting vim with just q is heresy!
- uzakov 6y agoSoon on StackOverflow: How to exit Mario on Vim? For anyone unfamiliar: https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/ https://stackoverflow.blog/2017/05/23/stack-overflow-helping...
- amiantos 6y agoWhat's the point of something like this, which is a very poor imitation of Mario, being labeled as "Mario in Vim"? Just marketability? If you used non-IP infringing assets, maybe no one would pay any attention to a link like this: "2D sidescroller implemented in Vim"? I'd just like to see the merit of something like this judged based not on nostalgia or fandom, but on its own individual novelty. You'd also sidestep all the people being downvoted for calling out IP infringement.
- joshmanders 6y ago> What's the point of something like this What's the point of anything? Someone made something and wanted to share it. Just let people enjoy making nonsense. The whole reason almost everyone on this site even got into coding was because of the excitement of making something of your own.
- p1necone 6y agoI bet you're fun at parties...
- asiachick 6y agoI agree with you and disagree with the downvotes you're getting. If this wasn't "Mario" it wouldn't likely get attention which arguably means all the attention is piggybacking off if Nintendo's famous ip and not anything having to do with putting it in VIM. If making a platformer in VIM was the interesting part then it should be interested with or without Mario. I see this same or similar issues with almost all copied IP. The author could have and arguably should have made something original. I find it so sad to see a fan spend 10,50,100,1000 hours making something with IP that doesn't belong to them so it can be taken away/banned/taken down when instead they could have made their own characters and it would be 100% theirs. It just seems like such a waste and a tragedy. The only exception would be if the work was a commentary or parody of the original IP but 99% of the time that's not the case.
- p1necone 6y agoHave you never built something for fun in your spare time? The author just likes mario, they're not trying to sell you a product. You're reading far too much in to this. The interesting creative output here was making a platformer work in vim, if they wanted to design their own original game as well they probably would have used a more traditional development platform.
- jchw 6y agoThe same author appears to have also implemented Puyo Puyo in Vim, and it looks a bit more sophisticated. https://github.com/rbtnn/vim-puyo https://github.com/rbtnn/vim-puyo Very cool.
- anthk 6y agoEmacs has malyon-mode to play IF games.
- guidedlight 6y agoThe art looks a bit like Mario on Atari 2600. https://www.youtube.com/watch?v=o5igUFICNB0&feature=emb_title https://www.youtube.com/watch?v=o5igUFICNB0&feature=emb_titl...
- DonCopal 6y agoNow give us chess in Vim.