eckrdt submission for euruko-golf #20

Merged
merged 3 commits into from May 20, 2012

Conversation

Projects
None yet
5 participants
Contributor

eckardt commented May 10, 2012

My submission makes use of the fact that Twitter counts unicode characters, not bytes. This allows us to encode up to 1.875 bytes of delicately compressed ASCII art typography.
To prove that it fits in a tweet, see here: https://twitter.com/#!/eckrdt/status/200476881215160320

ncri commented May 11, 2012

Tired this out, nice ;-) but i had to do Zlib::Inflate.inflate otherwise I get an error. Also the ASCII art I get says Euruku :)

Yeah, that's two characters off––The website says "Task: Write a tweetable (= 140 characters or less) ruby program that outputs EuRoKo ASCII art" ;)

Contributor

eckardt commented May 11, 2012

Haha, thanks. I didn't notice the typo at all. I made a new ASCII art anyway because there was some unused space left in the tweet.
Zlib.inflate requires ruby 1.9.3

Tweet is here: https://twitter.com/eckrdt/status/201070190044250113

@tlossen tlossen added a commit that referenced this pull request May 20, 2012

@tlossen tlossen Merge pull request #20 from eckardt/master
eckrdt submission for euruko-golf
e0e39d1

@tlossen tlossen merged commit e0e39d1 into wooga:master May 20, 2012

Contributor

rkh commented on 652e619 May 21, 2012

najs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment