Skip to content

Some ideas #1

Description

@chicolucio
  • From functional to OOP
    • create a class Tree initialized with height and screen_size with the current default values
    • boolean parameters balls, color and lights all True by default when instantiated

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.

  • user custom symbols to balls and stars
  • user can change the time interval
  • the main star can be changed to 🐍 with -p / --pythonsnake command line argument
  • Make it snow! ❄ ❅ ❆ ❉ ❊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions