Skip to main content
Commonmark migration
Source Link

#Ruby, 120#

Ruby, 120

#Ruby, 120#

Ruby, 120

added 37 characters in body
Source Link
Level River St
  • 28.8k
  • 4
  • 40
  • 112

The string " __ " will then be overwritten with additional \ and / where necesaryneccessary.

Ungolfed in test progamprogram

There should be a few more rows of whitespace at the top here, to make a total of 50, but I don't know if there is a way to get Stackexchange to format to include them.

The string __ will then be overwritten with additional \ and / where necesary.

Ungolfed in test progam

There should be a few more rows of whitespace here, to make a total of 50, but I don't know if there is a way to format to include them.

The string " __ " will then be overwritten with additional \ and / where neccessary.

Ungolfed in test program

There should be a few more rows of whitespace at the top here, to make a total of 50, but I don't know if there is a way to get Stackexchange to format to include them.

added 27 characters in body
Source Link
Level River St
  • 28.8k
  • 4
  • 40
  • 112

creates an array of 50 strings of 50 spaces, then substitutes 4 characters in 3 lines to add the hexagons:

" __ " "/ \\" \__"\__/" 

As the first rowline contains spaces, once a hexagon has been plotted we cannot plot another one below it, because the spaces would overwrite the previous hexagons.

Therefore the hexagons are added in the form of a 16x16 rhombus (distorted rectangle) from bottom to top, and slanting from bottom left to top right.

creates an array of 50 strings of 50 spaces, then substitutes characters to add the hexagons:

 __ / \ \__/ 

As the first row contains spaces, once a hexagon has been plotted we cannot plot another one below it, because the spaces would overwrite the previous hexagons.

Therefore the hexagons are added in the form of a rhombus (distorted rectangle) from bottom to top, and slanting from bottom left to top right.

creates an array of 50 strings of 50 spaces, then substitutes 4 characters in 3 lines to add the hexagons:

" __ " "/ \" "\__/" 

As the first line contains spaces, once a hexagon has been plotted we cannot plot another one below it, because the spaces would overwrite the previous hexagons.

Therefore the hexagons are added in the form of a 16x16 rhombus (distorted rectangle) from bottom to top, and slanting from bottom left to top right.

added 1245 characters in body
Source Link
Level River St
  • 28.8k
  • 4
  • 40
  • 112
Loading
Source Link
Level River St
  • 28.8k
  • 4
  • 40
  • 112
Loading