12
3
Inspired by this and the following chat:
Your task is to output the following:
_ _ _
/_/_/_/\
/_/_/_/\/\
/_/_/_/\/\/\
\_\_\_\/\/\/
\_\_\_\/\/
\_\_\_\/
Extra leading or trailing whitespace is allowed, as long as it does not change the appearance of the cube. As usual, returning the above or a list of strings from a function is allowed.
This is code-golf, so shortest answer in bytes wins!
Sandbox – Stephen – 2017-06-26T12:52:59.670
3Related. (As well as, more tangentially, a couple of other challenges you can find when searching for "diamond tiling".) – Martin Ender – 2017-06-26T12:56:48.517
710 hours in the Sandbox (especially with only one upvote) is hardly enough. I'd recommend waiting at least 48 hours. – Dada – 2017-06-26T12:56:52.513
@Dada it's KC, KC challenges don't need much time in Sandbox :) – Stephen – 2017-06-26T12:58:11.877
9To explain my downvote: I don't really like the challenge, because the image is taking much of the space, and I feel like you are more trying to show a funny image than to make a good challenge (even more since the pattern isn't the same as the one on the picture) (and I'm quite sure this will attract some upvotes from people that just laughed at the picture). Also, "output this exact string" with a string that looks more or less than this one has been done several times, and I fail to see how your challenge is different enough to be interesting. – Dada – 2017-06-26T13:20:18.003
@Dada fixed the image, thanks; that image inspired me, so I included it, it's not essential to the challenge. You can say the same for any KC challenge :) – Stephen – 2017-06-26T13:23:35.170
4@StephenS I gave +1, but I disagree that you can say the same for any KC challenge, when I make a KC challenge I make sure to make the pattern somewhat complex (so charcoal doesn't just auto-win), I make longer patterns so languages that can handle loops better have a chance (Like JS) and I try to use things that some languages might have built in like the alphabet, KC challenges differ a lot, and trying to say they are all the same takes something away from the category. – LiefdeWen – 2017-06-26T13:32:18.673