Perl-Sensitive Sunglasses | |
PerlMonks |
life gets obfuscatedby IraTarball (Monk) |
on Nov 28, 2001 at 23:55 UTC ( [id://128156]=obfuscated: print w/replies, xml ) | Need Help?? |
Hello Monks,
This is my first attempt at (deliberate) obfuscation. It's a version of John Conway's Game of Life.
For those unfamiliar with the game, the rules are simple. This code can take an argument to define the grid size, 20 seemed like a good size for my terminal window. A few notes on the code...
As I mentioned before, I haven't done any deliberatly obfuscated code before,so this was an interesting experiment for me. I'm actually not too happy with it,
to be honest. It mostly is just using all those poor programming practices
I normally tell people not to do. I had hoped to do something really clever
but alas, this is all I could come up with. Compared to some of the other nodes in this section it's not really even obfuscated. I'm interested in what other monks might think of it, and would love some suggestions.
Thanks,
"So... What do all these little arrows mean?"
Back to
Obfuscated Code
|
|