Skip to content

sacckey/rubyboy

Repository files navigation



A Game Boy emulator written in Ruby

Try the demo in your browser! - Powered by WebAssembly

Screenshots

Requirements

SDL2

Installation

This project requires Ruby 3.2.0 or higher.

Tip

To enhance performance, it is highly recommended to use Ruby 3.3.x with YJIT.

Install the gem and add to the application's Gemfile by executing:

$ bundle add rubyboy

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install ffi rubyboy

Usage

$ RUBYOPT=--yjit rubyboy <rom_path>
Key Button
W
A
S
D
J A
K B
U Select
I Start

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sacckey/rubyboy. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Rubyboy project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.