That way the user could create Tree's with or without balls, colors and random lights instantiating the parameters with True (default) or False. The functions from the current version of the project would be methods of Tree changing the default tree according to the __init__ parameters.
The CLI would have arguments related to balls (-b), color (-c) and lights (-l) so that these could be changed.
Treeinitialized withheightandscreen_sizewith the current default valuesballs,colorandlightsallTrueby default when instantiatedThat way the user could create
Tree's with or without balls, colors and random lights instantiating the parameters withTrue(default) orFalse. The functions from the current version of the project would be methods ofTreechanging the defaulttreeaccording to the__init__parameters.The CLI would have arguments related to
balls(-b),color(-c) andlights(-l) so that these could be changed.-p/--pythonsnakecommand line argument