Skip to content
👾 Example apps using Ruby 2D
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Ruby 2D Examples

Color Dodge Game

Try to survive the endless wave of colored squares! Stay alive as long as you can and your score will go up! Touch sufficient colored squares to empty your life bar and you'll have to start again!


An example using the on method to capture KeyEvents. It displays the keys you type, like stamps on the screen.

Toggle Switch

An example of a simple switch that when toggled will change its appearance to reflect its state as well as change the background color of the application.

Triangle Game

A simple "Triangle Game" that allows you to move a Roguelike '@' around the window (and off of it).

You can’t perform that action at this time.