This is a Tetris clone written in Ruby using the Gosu framework.
gem install gosu
git clone git://github.com/llexileon/rubytetris.git
cd rubytetris
./game.rb
- Down arrow to accelerate shape drop
- Left & Right arrows to move shape across the grid
- Z to rotate shape counter clockwise
- X to rotate shape clockwise
- Q to quit
I've tried to implement the mechanics of the game reasonably faithfully thus far.
For more information, see the tetris wiki.
The following samples are used with permission:
- Soundtrack from http://audionautix.com
- Sound FX sourced from http://www.freesfx.co.uk/