Dave and Luke's Tetris clone
A quick little tetris clone written in Ruby. It uses the rubygame library and was originally based from this great template.
It was started by Dave to practice Ruby and Luke has since seperated it out and turned it into a 'proper' project.
Arrow keys move, up arrow rotates and space drops your piece.
Installation
gem install dl-tetris
dl-tetris
(Checkout Rubygems.org for more info.)
Notes
- If you're using a Mac you will need to run this with RSDL instead of the normal Ruby command.
- If you're not using a Mac you will need to change the font path.
- You will need to install libsdl, sdl_gfx, sdl_ttf, rubygame, rsdl (see above) and Ruby 1.9 for this to work properly.
Todo
- Music!
- End game logic
- Special effects?!
- XKCD setting?!
Licence
Copyright Dave Barker and Luke Antins 2010
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.