Classic arcade game Space Invaders written in Ruby w/ Gosu.
The game is packed as a gem, so you can simply run:
$ gem install space_invaders
$ space-invaders
Or you can clone the repo and simply run the main file:
$ git clone git@github.com:DamirSvrtan/space-invaders.rb.git
$ ruby go.rb
If you have problems installing the game, you're probably missing some OS specific libraries that Gosu uses. For further information checkout:
- Getting started with Gosu on Linux
- Getting started with Gosu on OS-X
- Getting started with Gosu on Windows
Thnx to people at RubyWeekly for publishing awesome stuff every week, such as Mike Moores talk on LA Ruby Conference about creating games with Gosu.
Graphics partially taken from How to make games in iOS.
- Fork it ( http://github.com//space_invaders/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request