TWIFComp

Video Game Discussions and general topics.

Moderators: AArdvark, Ice Cream Jonsey

bruce
Posts: 2544
Joined: Tue Jun 04, 2002 10:43 pm

TWIFComp

Post by bruce »

I submitted a game to TWIFComp. The rules were, the source had to be 140 or fewer non-whitespace characters.

http://dhakajack.templaro.com/node/56

Here's the readme:

Code: Select all

REQUIREMENTS:

A system running Linux (i386, x86_64, ppc, armv5tel, or s390)
The tar and gzip utilities in $PATH somewhere
Perl at /usr/bin/perl, /usr/bin in $PATH
About 500MB free disk space (not kidding)

Instructions:
unpack distribution
./mma.pl

The source code will be found in:
workspace/sources/MMA.inform/Source/story.ni

And here's my proof that it's legal:
adam@mini311&#58;~/src/spacifier$ ls -l mma.pl; < mma.pl perl -pe 's/\s*//g' | wc -c
 
-rwxr-xr-x 1 adam adam 339147099 2010-04-21 23&#58;36 mma.pl
137
Yes, that's right. 137 non-whitespace characters....and 339 million whitespace. Here's the non-whitespace:

Code: Select all

#!/usr/bin/perl
open&#40;O,">t"&#41;;while&#40;<DATA>&#41;&#123;s/\t/                /g;&#40;$c&#41;=&#40;/^&#40;\ *&#41;$/&#41;;print O chr&#40;length&#40;$c&#41;&#41;&#125;;close O;`gzip -dc t|tar xpf -`;system&#40;"./a"&#41;;
__DATA__
Bruce

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

You didn't.

You didn't.

You couldn't have... I ... I heard someone made a game in that whitespace language, but that's just a - it's an untested prototype!

No way. No friggin' way!
the dark and gritty...Ice Cream Jonsey!

User avatar
pinback
Posts: 17850
Joined: Sat Apr 27, 2002 3:00 pm
Contact:

Post by pinback »

I don't even know what the game is, but you win.

**** You have won ****
Am I a hero? I really can't say. But, yes.

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

I will be outraged if Bruce doesn't win the Twitter Comp. I would like to say that I have not played any other entries yet, so my opinion is unvalued. But 337 million white spaces & Stiffy Makane? You've won.

How much of the game is included, Bruce?
the dark and gritty...Ice Cream Jonsey!

User avatar
pinback
Posts: 17850
Joined: Sat Apr 27, 2002 3:00 pm
Contact:

Post by pinback »

I think it will not win because it does not keep with the "spirit" of the competition.

However, it has won our hearts and minds.

Which is much more, or less, important.
Am I a hero? I really can't say. But, yes.

bruce
Posts: 2544
Joined: Tue Jun 04, 2002 10:43 pm

Post by bruce »

Ice Cream Jonsey wrote:I will be outraged if Bruce doesn't win the Twitter Comp. I would like to say that I have not played any other entries yet, so my opinion is unvalued. But 337 million white spaces & Stiffy Makane? You've won.

How much of the game is included, Bruce?
Pretty much everything I've written so far...although the game arbitrarily ends when you get to Darkest Africa, but since you have the source, you can fix that.

What I have so far is probably 75-80% of the whole game.

Bruce

sgranade
Posts: 17
Joined: Fri Apr 02, 2010 5:30 pm
Contact:

Post by sgranade »

Hey, congrats on your TWIFComp placement!

User avatar
Flack
Posts: 9058
Joined: Tue Nov 18, 2008 3:02 pm
Location: Oklahoma
Contact:

Post by Flack »

That's pretty bad ass. I'm so verbose, it takes me 140 characters to say that I'm about to say something. Coding anything that does anything in that amount of space is impressive.
"I failed a savings throw and now I am back."

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

bruce wrote:
Ice Cream Jonsey wrote:I will be outraged if Bruce doesn't win the Twitter Comp. I would like to say that I have not played any other entries yet, so my opinion is unvalued. But 337 million white spaces & Stiffy Makane? You've won.

How much of the game is included, Bruce?
Pretty much everything I've written so far...although the game arbitrarily ends when you get to Darkest Africa, but since you have the source, you can fix that.

What I have so far is probably 75-80% of the whole game.

Bruce
Bruce got second place in the TWIFCOMP. Congratulations, Bruce!
the dark and gritty...Ice Cream Jonsey!

User avatar
pinback
Posts: 17850
Joined: Sat Apr 27, 2002 3:00 pm
Contact:

Post by pinback »

?
Am I a hero? I really can't say. But, yes.

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

Someone else took first place. Explain your "?".
the dark and gritty...Ice Cream Jonsey!

bruce
Posts: 2544
Joined: Tue Jun 04, 2002 10:43 pm

Post by bruce »

Ice Cream Jonsey wrote:Someone else took first place. Explain your "?".
!

I think Pinback had been playing the winning entry.

I can't wait for my tasty tasty ramen.

Bruce

sgranade
Posts: 17
Joined: Fri Apr 02, 2010 5:30 pm
Contact:

Post by sgranade »

Wait, wait, wait. Clearly we need to get your prize switched from ramen to a bowl of dry cheerios.

Post Reply