Home > ruby > Installing GOSU: Games in Ruby

Installing GOSU: Games in Ruby

Gosu is an open source game development library. Ruby and C++ programming languages can be used to write games using the Gosu library. The Passenger guys presented the RubyStein game written in Ruby. It’s an interesting game and has got many famous personalities form Rails community including DHH, ZedShaw and some as well brands like Peepcode.

If you are on Ubuntu, you can try these steps to enjoy this game.

First, install the gosu and dependent libraries…

sudo apt-get install libsdl-mixer1.2
sudo apt-get install libboost-dev
sudo apt-get install libpango1.0-dev
sudo apt-get install libgl1-mesa-dev
sudo gem install gosu

Now, you can download the game and run it as

 ruby wolf3d.rb

and play it using the arrow keys and space bar.

Sur ruby , ,

  1. No comments yet.
  1. No trackbacks yet.