wooga/euruko-golf — pull request #26 by torsten (2012-05-20 20:08:09+00:00)
Title: Submission tor @t0rsten

Hi,

This is my submission to the euruko code golf.

My script decodes base-36 encoded integers and unpacks them using a naiive form of [arithmetic coding](http://en.wikipedia.org/wiki/Arithmetic_coding) the results of the decompression are used as a index to print one of the four characters which make up the ASCII art.

To generate suitable compressed numbers you need a [separate compression script](https://github.com/torsten/euruko-golf/blob/master/torsten/pack_int.rb).