Classic brick game written in Ruby with the awesome ruby2d framework.
Note: the low frame rate here is due to the GIF recording not the game itself.
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/brick.git
cd brick
ruby brick.rb
Paddle control:
- a: left
- d: right
Original code made by Tiago Guedesn (tiagopog) for Pong game (thanks!)