Use Ruby to create games that run in your browser.

0
votes

Posted by: nicklink483 on 12/29/2014 | Add Revision

Using Opal, the Dare gem is a Ruby Game framework which compiles your code to Javascript so you can run it in any browser.

https://github.com/nicklink483/dare

Here's a demo game: http://nicklink483.github.io/dare/tutorial.html

For those familiar with Gosu, you'll find the API very similar.

Comments

Andrew Havens -

Nice! Looks cool. I'll have to check it out.

Andrew Havens -

Have you seen Yeah (https://github.com/yeahrb/yeah)? How does it compare?

nicklink483 -

I have seen Yeah. There are a couple differences. My API is very similar to Gosu, so anyone coming from that gem will feel right at home. Also, I've made it so that it's easy to make standalone js apps. But yes, Yeah is awesome!