This is a Tetris clone written in Ruby using the Gosu framework.
gem install gosu
git clone git://github.com/phorsfall/tetris.git
cd tetris
ruby game.rb
- Cursor keys for shift left/right and soft drop
- z and x to rotate left/right
- ESC to quit
- Add hard drop
- DAS reset when pieces are locked
I've taken care to implement the mechanics of the game reasonably faithfully thus far. Game play most closely resembles early versions of the game, with some specifics taken from the NES version. For more information, see the Tetris wiki:
The following samples are used in this game under a Creative Commons Sampling Plus 2.0 License.
"ArcadeFont" is by Jakob Fischer