Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 658 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 658 Bytes

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!

KeyEvent

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).