xem/chip8 — pull request #2 by aemkei (2014-01-06 14:05:10+00:00)
Title: Repeat Yourself

Sorry for my silence, but I had no internet connection the last two weeks.

This project looks interesting and I would love to golf it down to 1024 bytes. Unfortunately I can't commit my changes on a Windows machine, because I'm on Mac OS X.

But I've played around a but and it looks like the PNG compression works best, if you repeat yourself.

See the example below: It adds a parameter `c` to all `function` definitions, even if it not used. Thus the text `function(c){` will appear 3 times and the PNG is slightly smaller.