Skip to content

Instantly share code, notes, and snippets.

@codepo8
Created November 29, 2023 16:01
Show Gist options
  • Save codepo8/8a3947ffdd18bf2eb9ab22b34d055272 to your computer and use it in GitHub Desktop.
Save codepo8/8a3947ffdd18bf2eb9ab22b34d055272 to your computer and use it in GitHub Desktop.
CODE100 puzzle - packed snowflake

Packed snowflake

Welcome to another CODE100 puzzle. This time your task, should you want to take it on, is to create an ASCII art snowflake from this dataset:

[
    "❄️","3x32",46,"6x32",
    46,"❄️","3x32",95,92,47,"2x32",92,
    47,95,"❄️","4x32",95,92,47,
    92,47,95,"❄️",95,92,95,92,95,92,47,92,47,95,
    47,95,47,95,"❄️",32,47,32,47,95,47,92,47,92,95,
    92,32,92,"❄️","4x32",95,47,92,47,
    92,95,"❄️","4x32",47,92,"2x32",47,
    92,"❄️","3x32",39,"6x32",39,"❄️"
]

The result should look like this:

   .      .
   _\/  \/_
    _\/\/_
_\_\_\/\/_/_/_
 / /_/\/\_\ \
    _/\/\_
    /\  /\
   '      '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment