もっと短いPythonのテトリス
by
ats
—
posted at
2006-11-01 10:37
last modified
2006-11-01 10:37
Pygameを使って100行で書けるテトリスが少し前にプチ話題になりましたが,こんどは15行テトリスが登場しましたよ。
http://markbyers.com/moinmoin/moin.cgi/SmallTetrisProgram
lambdaやexecを駆使したワンライナー的コード。"No attempt was made to make the code beautiful or easy to maintain!" ということなので,確信犯的ワンライナーってことですね:-)。
- Category(s)
- python
-
- ¦
- ¦
- Permalink
- ¦
- Comment (0)
- ¦
- Trackback (0)
- The URL to Trackback this entry is:
- http://coreblog.org/ats/more-small-tetris/tbping





