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
It displays the keys you type, like stamps on the screen.
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.
A simple "Triangle Game" that allows you to move a Roguelike '@' around the window (and off of it).