tetris
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Tetris Clone in Ruby/Gosu
# Tetris

This is a Tetris clone written in Ruby using the [Gosu framework](http://code.google.com/p/gosu/).

![Screenshot](https://github.com/phorsfall/tetris/raw/master/assets/screens/screen1.png)

# Usage

    gem install gosu
    git clone git://github.com/phorsfall/tetris.git
    cd tetris
    ruby game.rb

# Controls

* Cursor keys for shift left/right and soft drop
* z and x to rotate left/right
* ESC to quit

# Todo

* Add hard drop
* DAS reset when pieces are locked

# Resources

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:

* [Hard Drop - Tetris Wiki](http://harddrop.com/wiki/index.php?title=Main_Page)

# Thanks

The following samples are used in this game under a Creative Commons Sampling Plus 2.0 License.

* [Chip033.wav](http://www.freesound.org/samplesViewSingle.php?id=31870)
* [Chip055.wav](http://www.freesound.org/samplesViewSingle.php?id=32955)
* [Untitled 017 Explosion.aif](http://www.freesound.org/samplesViewSingle.php?id=97403)
* [Untitled 038 Explosion.aif](http://www.freesound.org/samplesViewSingle.php?id=97422)

"ArcadeFont" is by [Jakob Fischer](www.pizzadude.dk)

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。