Since it is nearing that time of Year again and the festivities are starting.
We should put a tree!
Challenge idea submission from lucky3.I've modified it a little to make it a fun for all levels of coder.
Challenge
Produce a Christmas tree.
Easy
Create the basic tree (without decorations except for the star on top)
*
^^^
^^^^^
^^^^^^^
^^^^^^^^^
^^^^^
^^^^^^^
^^^^^^^^^
^^^^^^^^^^^
^^^^^^^^^^^^^
^^^^^^^^^
^^^^^^^^^^^
^^^^^^^^^^^^^
^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^
Intermediate
Same a the Easy challenge but requires a tree with different decorations on it (random color and style).
- A White Star on top must be White though.
- Dark Green Tree
*
*^@
O^O^*
O^%^^^^
%^^^^^^^^
^^^^^
%^^^^^^
o^o^^^o^^
%^%^@^O^O^^
^^^^%^^^^^*^^
^^^^^^^^^
^^^^^^O^^^^
^^o^^^^^^^^^^
^^*^^^^^@^O^*^o
*^%^%^^^^^o^@^O^O

Advanced
Same a the Intermediate Challenge but with the added requirements
- place a random (at least one though) number of strands of Tinsel to the tree.
Example # is the tinsel
*
#^@
O^##*
O^%^^#^
%^^^^^^#^
#^^^^
%^###^^
o^o^^^#o^
%^%^@^*#O^^
^^^^%^^$^#*^^
^^^^^^^^#
##^^^^O^^^^
^^o#^^^^^^^^^
^^*^^##^@^O^*^o
*^%^%^^^#^o^@^O^O
A strand of Tinsel as the met the requirements.
- Tinsel is below decorations.
- Of a single color throughout it length.
- The next section must be one of the follow neighbors of current section.
[ ][#][ ] [ ][ ][ ]
- Can't fall outside the boundary of the tree, if it does it wraps around drops a level.
Ninja
To all undertakers of this Challenge.
Have a fun time coding the challenge and have safe Merry Christmas and Happy New Years.
- VB.net forum leaders and team
This post has been edited by AdamSpeight2008: 28 November 2012 - 02:58 AM

New Topic/Question
Reply



MultiQuote










|