An open API service indexing awesome lists of open source software.

https://github.com/fryguy/allegro4r

Ruby binding to the Allegro game programming library. http://liballeg.org/
https://github.com/fryguy/allegro4r

Last synced: about 1 year ago
JSON representation

Ruby binding to the Allegro game programming library. http://liballeg.org/

Awesome Lists containing this project

README

          

```
______ ___ ___ __ __
/\ _ \ /\_ \ /\_ \ /\ \\ \
\ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___\ \ \\ \ _ __
\ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ \ \\ \_ /\`'__\
\ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \ \__ ,__\ \ \/
\ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/\/_/\_\_/\ \_\
\/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/ \/_/ \/_/
/\____/
\_/__/
```

# Allegro4r

A Ruby FFI binding to the [Allegro](http://liballeg.org) game programming library.

## Installation

- [Install Allegro](https://wiki.allegro.cc/index.php?title=Getting_Started#Installing_Allegro)

- Install the Ruby gem

Add this line to your application's Gemfile:

```ruby
gem 'allegro4r'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install allegro4r

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Fryguy/allegro4r.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). See [LICENSE.txt](LICENSE.txt).

### Third Party Licenses

The files in examples/data are borrowed from the Allegro source in order to allow the Ruby examples to serve as a mirror of the original examples. As such, the Allegro license is also included in [LICENSE_ALLEGRO.txt](LICENSE_ALLEGRO.txt).