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.

@amirrajan nintendo developer agreement violation lawsuit in 4... 3... 2...
hackers exploiting switch trough this game in 2.. 1..
@hj @amirrajan Well actually, you cannot do JIT on the Switch so apart if you find some bugs in the interpreter to give you read/write primitive (and a way to break ASLR), it's not going to be exploitable 🀷

And even if you get to this point, you will not have access to anything interesting from there.

@thog @hj correct. And all this runs in user land on top of it (yes, I did do an immense amount of pen testing).

And again. FUZE literally does this but with Q Basic. Go make magic happen with Ruby.

@amirrajan @hj I wonder if we could make mastodon run with that πŸ€”

@thog @hj I didn't expose any http methods to this Ruby runtime outside of http_get("some url") which returns plain text.

So mostly useless.

Sign in to participate in the conversation

A Mastodon instance for Rubyists & friends