Dear Ruby devs and game devs. I have a crazy announcement I want to share. Please boost.
Last week I released A Dark Room to the Nintendo Switch. Within the game, I also shipped a Ruby interpreter and a code editor as an Easter Egg.
*This Easter Egg effectively turns every consumer spec-ed Nintendo Switch into a Ruby Machine.*
1. Download A Dark Room from the US/EU.
2. Connect a USB keyboard and press the “~” key.
3. Follow the onscreen instructions.
Here’s the proof. This is a Nintendo Switch, running A Dark Room, which allows you to execute Ruby code. The Ruby code in this video is a Quine that executes Ruby code.
@mayuutann Did you buy a Nintendo Switch?
@veer66 No, I didn't. I don't play games...
@mayuutann You can run Ruby now. 😅
@hj none of this happened. I'm not an idiot and didn't expose anything that would have gotten me in trouble.
My intents were not malicious (think about why I would have done something like this).
So yea. No lawsuit. The game is back up on the eShop. And I have a DLC in the works that will be released "the right way".
In short: lol, you're wrong.
@hj and don't be offended.
Just shit posting myself 😛
@amirrajan Holy shit that's really fucking cool! Can't wait to mess with this!
@firstname.lastname@example.org just tried it. one of the best easter eggs i've ever seen in a game :)
@glitch and if you need anything else added to it, I'll throw it up there for reference.
@vaartis yep! The Switch version is highly tuned for "active" play. Pacing is different and there is a much much deeper narrative (since it's assumed that the player is more attentive).
There is always a non-trivial decision to make or task to do on the Switch version.
@amirrajan does the ruby interpreter have graphics and input so one could make another game inside ruby?
@boots yep! Build all the things!!
Here is some sample code here: https://github.com/amirrajan/power-overwhelming/blob/master/kaigi_2019_logo.rb
@amirrajan don't have a way to connect a keyboard to an undocked switch, so no video, but here's a pic!
@amirrajan ill probably play the game, too, since it looks neat, i just heard ruby interpreter + engine on the switch and got excited
@amirrajan tried "$layout.toast 2+2" and...this doesn't seem right :<
@amirrajan (that white blob in the middle DOES say 4 for the record)
@amirrajan i love a dark room already and this is just next tier as hell, omg
@robin *really* appreciate the kind words you sent me back then.
They helped me weather the storm ^_^
ADR is back on the eShop. Spread the word <3
@amirrajan holy crap that’s awesome. I wonder if Nintendo will pull it?
@amirrajan Do you mind if I post about this on twitter or are you trying to keep it on the down low?
@debugninja keeping on the DL right now. But feel free to “carefully” spread the word
@debugninja you let me worry about that and go build awesome stuff
@amirrajan You, good Sir, are brilliant.Thank you!
@moritzheiber thank you for the kind words. And sorry for taking so long to reply (had to stay radio silent for a while).
A Mastodon instance for Rubyists & friends