Yeah
Practical Ruby video game framework, alpha stage
Features
- Designed to be easy to learn and fast to build games with
- Embraces Ruby's strengths (object-orientation, duck typing, focus on developer happiness)
- Platform-agnostic (currently compiles to web pages through Opal; PC executables and mobile apps planned)
- Convention (over configuration)-oriented
- Processing/HTML5 Canvas-style drawing API
- Command-line utilities (no monolithic IDE)
- Open source under MIT license
Examples
Code for all examples

Asteroids

Random
Usage
NOTE: This is alpha-stage software, expect changes!
Installation
- Install Ruby 2.0+, visit the Ruby website for more info.
- In a command line, enter
gem install yeah
. - Enter
yeah
to view list of commands.
Making a game
- In a command line, enter
yeah new
to generate a new game project. - Change into the new project directory, then enter
bundle install
. - Add game code to
code/game.rb
. No tutorials yet; please take a look at the example code and API reference. - Enter
yeah serve
and visit http://localhost:1234 to try the game.
Links
API reference: 0.4.2, 0.3.5
Version upgrade notes
Issue & feature tracker
Discussion via Gitter
Author's email