# Tetris (#210)

**URL:** <https://www.ruby-forum.com/t/tetris-210/170622>\
**Category:** Ruby\
**Created:** [June 19, 2009, 7:13pm UTC](https://www.ruby-forum.com/t/tetris-210/170622 "2009-06-19T19:13:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danmcb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Post date:** [June 19, 2009, 7:13pm UTC](https://www.ruby-forum.com/t/tetris-210/170622/1 "2009-06-19T19:13:29Z")

</div>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

The three rules of Ruby Q.:

1. Please do not post any solutions or spoiler discussion for this  
quiz until 48 hours have elapsed from the time this message was  
sent.

2. Support Ruby Q. by submitting ideas and responses  
as often as you can!  
Visit: [http://rubyquiz.strd6.com/suggestions](http://rubyquiz.strd6.com/suggestions)

3. Enjoy!

Suggestion: A [QUIZ] in the subject of emails about the problem  
helps everyone on Ruby T. follow the discussion. Please reply to  
the original quiz message, if you can.

RSS Feed: [http://rubyquiz.strd6.com/quizzes.rss](http://rubyquiz.strd6.com/quizzes.rss)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

## Tetris (#210)

úÄÒÁ×ÓÔ×ÕÊÔÅ ÅÝÅ ÒÁÚ Rubyists,

Inspired by the recent 25th anniversary of Tetris[1](http://en.wikipedia.org/wiki/Tetris), this week’s quiz  
is to create a Tetris style game. You may use a graphical framework  
such as Gosu[2](http://code.google.com/p/gosu/) or Rubygame[3](http://rubygame.org/), or even a simple console output. Feel  
encouraged to share any libraries that you think may be useful. You  
may find the solutions to last week’s quiz will come in handy in your  
solution to this week’s quiz.

Have Fun!

---

<div class="post-metadata">

**Author:** ![danmcb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Post date:** [June 19, 2009, 8:07pm UTC](https://www.ruby-forum.com/t/tetris-210/170622/2 "2009-06-19T20:07:11Z")

</div>

I would recommend looking at using Gamebox. Gamebox sits on top of  
Rubygame  
and makes things much easier to get started.

As a side note: JamesKilton has already contributed a tetris game in the  
gamebox examples directory.

[http://shawn42.github.com/gamebox](http://shawn42.github.com/gamebox)

> **[GitHub - shawn42/gamebox: A game template for building and distributing Gosu...](https://github.com/shawn42/gamebox/tree/master)**
>
> master

[http://gamebox.rubyforge.org/docs/getting\_started\_rdoc.html](http://gamebox.rubyforge.org/docs/getting_started_rdoc.html)

I’d love to answer questions or help you get setup using Gamebox.

/Shawn

2009/6/19 Daniel M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![danmcb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Post date:** [June 20, 2009, 12:31am UTC](https://www.ruby-forum.com/t/tetris-210/170622/3 "2009-06-20T00:31:14Z")

</div>

On Jun 19, 2009, at 12:12 PM, Daniel M. wrote:

> Inspired by the recent 25th anniversary of Tetris[1], this week’s quiz  
> is to create a Tetris style game.

I dug around and found an old Ruby implementation I did. It’s dated  
2004.

James Edward G. II

---

<div class="post-metadata">

**Author:** ![danmcb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Post date:** [June 28, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/tetris-210/170622/4 "2009-06-28T19:57:26Z")

</div>

Though there were no solutions submitted this week, we learned of  
gamebox[1](http://github.com/shawn42/gamebox/tree/master) a framework built on top of Rubygame[2](http://rubygame.org/) to spring board  
game development. I would also recommend checking out Gosu[3](http://code.google.com/p/gosu/) as well  
if you are interested in other game development tools for Ruby.

There is also a solution by James Edward G. II from 2004[4](http://osdir.com/ml/lang.perl.qotw.discuss/2004-09/msg00138.html).
