13
Problem
Draw a hexagon chain x
long, each with side of y
length
Input
x
- the length of the chain <= 50
y
- the length of each side <= 50
Examples
x=1,y=1
_
/ \
\_/
x=4,y=1
_ _
/ \_/ \_
\_/ \_/ \
\_/ \_/
x=3,y=2
__ __
/ \ / \
/ \__/ \
\ / \ /
\__/ \__/
\ /
\__/
Rules
The shortest valid answer in bytes wins.
Leading and trailing newlines allowed.
Trailing white space allowed.
Related – Arnauld – 2017-12-08T09:23:27.237
2Waiting for obligatory Hexagony answer... – LLlAMnYP – 2017-12-08T15:36:59.633
2
@LLlAMnYP Any minute now...
– Martin Ender – 2017-12-08T15:43:27.023@user202729 If you write one now, we never have to find out what happens. – LiefdeWen – 2017-12-27T17:00:19.760
First line in Hexagony. Obviously need to increase edge size for the rest. – user202729 – 2017-12-28T14:14:04.757