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.
@mayuutann Did you buy a Nintendo Switch?
@veer66 No, I didn't. I don't play games...
@mayuutann You can run Ruby now. 😅
@amirrajan Holy shit that's really fucking cool! Can't wait to mess with this!
@email@example.com 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
@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!
@amirrajan holy shit lol. I’m not a programmer but I do own a switch and that’s cool as hell.
A Mastodon instance for Rubyists & friends