Last active
August 29, 2015 14:28
-
-
Save cohen990/446079585801424fc080 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kata: | |
Print out a scalable circle on the command line. | |
program takes a diameter as an input | |
input 1: output: o | |
input 2: output: () | |
_ | |
/ \ | |
input 5: output: | | | |
\_/ | |
___ | |
/ \ | |
input 7: output: | | | |
\___/ | |
It's open to interpretation so long as it looks vaguely circley | |
Stretch goal: | |
Print out a scalable smiley face (only going to affect larger images) | |
____ | |
/ \ | |
/ o o \ | |
input 10: output: | . . | | |
\ '....' / | |
\______/ | |
Again, so long as it looks vaguely smiley then that's fine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment