39
2
Write the shortest program that prints this ASCII art section of a hexagonal tiling or honeycomb:
__
__/ \__
__/ \__/ \__
/ \__/ \__/ \
\__/ \__/ \__/
/ \__/ \__/ \
\__/ \__/ \__/
/ \__/ \__/ \
\__/ \__/ \__/
\__/ \__/
\__/
- No input should be taken.
- Output to stdout or your language's closest alternative.
- Instead of a program, you may write a named function that takes no parameters and prints the result normally or returns it as a string.
- The output may have any number of leading and/or trailing newlines and each line in the output may have any number of leading and/or trailing spaces (as long as the pattern lines up properly.)
- The shortest code in bytes wins.
13Do you play a lot of Catan? – user3490 – 10 years ago
@user3490 In fact I do ^^ – Calvin's Hobbies – 10 years ago
2Next week on PCG: write a Catan board generator? – user3490 – 10 years ago
7It should have an input IMO, in your case it should be 3. – user3819867 – 10 years ago
3@user3819867 I did consider that but preferred this. It's too late to change but not too late for anyone to make a related challenge. – Calvin's Hobbies – 10 years ago