nikolajbaer.us — "Ok, my friend Kevin, in an attempt to silence my bragging, challenged me to make Tetris in 200 lines of code. I announced I could do it in 100! It is ghetto and looks and feels about as suave as a minivan, but it is a functional game of Tetris! Could have been done better, but I think the point was proven."
Sep 20, 2006 View in Crawl 4
scrappylaptopSep 21, 2006
@xpaladin:Yes, it is just you. And maybe a few other grumpy people. Code challenges are the closest thing coding has to drag racing. Sometimes it goes a bit overboard, and of course the code is less maintainable, but the point is that it is a challenge of skill.
mindblenderSep 21, 2006
I saw this in someone's sig once. It is written in one "line" of obfuscated C... never mind. digg doesn't like a really long lines. sorry.
charlesdarwinSep 21, 2006
I wish my friends would challenge me to write s**t like that. :-(
drspinSep 22, 2006
Do you remember Apple ][ days? Beagle Bros. 2-liners? Full of peeks and pokes, and I remembered entering the 2 line applesoft BASIC code for a 'snake' game. Now, that was cool.
dpantSep 22, 2006
this is complete bulls**t and proves nothing.you should have known better and write clean code instead.
Closed AccountSep 23, 2006
I'm using the same version of python and it works fine. But when I do cat -n tetris.py that if statement is on line 19.
shooverSep 26, 2006
Thanks for sharing, now go back to your own thread.
yenta4shopSep 7, 2008
<a class="user" href="http://www.yenta4shop.co.uk/">http://www.yenta4shop.co.uk/</a><a class="user" href="http://astore.amazon.com/12.volt.battery.charger-20">http://astore.amazon.com/12.volt.battery.charger-2 ...</a><a class="user" href="http://astore.amazon.com/5.gallon.water.bottle-20">http://astore.amazon.com/5.gallon.water.bottle-20</a><a class="user" href="http://astore.amazon.com/aerobed.raised-20">http://astore.amazon.com/aerobed.raised-20</a><a class="user" href="http://astore.amazon.com/bug.zapper-20">http://astore.amazon.com/bug.zapper-20</a><a class="user" href="http://astore.amazon.com/flowtron.insect.killer-20">http://astore.amazon.com/flowtron.insect.killer-20</a><a class="user" href="http://astore.amazon.com/furniture.chaise.lounge-20">http://astore.amazon.com/furniture.chaise.lounge-2 ...</a><a class="user" href="http://astore.amazon.com/inflatable.bed-20">http://astore.amazon.com/inflatable.bed-20</a><a class="user" href="http://astore.amazon.com/steam.cleaner.mop-20">http://astore.amazon.com/steam.cleaner.mop-20</a>