mosinski / asteroids

Classic Asteroids written in Ruby with Ruby 2D framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Classic asteroids game written in Ruby with the awesome ruby2d framework.

ruby_asteroids

Note: the low frame rate here is due to the GIF recording not the game itself.

Install

Make sure you have installed:

brew tap simple2d/tap
brew install simple2d
gem install ruby2d

Then clone the source code to your local:

git clone https://github.com/mosinski/asteroids.git

Play

cd asteroids
ruby asteroids.rb

Ship control:

  • Rotate left:
  • Rotate right:
  • Accelerate:
  • Shoot: Space

About

Classic Asteroids written in Ruby with Ruby 2D framework.


Languages

Language:Ruby 100.0%