|Perl Monk, Perl Meditation|
ASCII Pattern - Golfby devslashneil (Friar)
|on Sep 19, 2003 at 00:16 UTC||Need Help??|
devslashneil has asked for the wisdom of the Perl Monks concerning the following question:
Recently to pass some time, my friend and i organized a game of golf.
The problem which we set out to solve, was to write a script which takes two arguments (grid coordinates starting from bottom left) and then creates the following patterns.
Pattern created with the coordinates 5,5:
Pattern created with the coordinates 2,3:
My solution to this problem was:
However i assume a lot of people could do it in a lot less so if anyone is interested in passing a little bit of time, i would love to see some better solutions :)
- /dev/IT -