Skip to content

Add Colors to Game #34

@evanugarte

Description

@evanugarte

This article discusses using the macros build into the ncurses library. We could do this approach but I also wanted to test out creating our own enums like below:

class colors:
    """
    This is a class that helps with printing out colors to the terminal.
    """
    PINK = '\033[95m'
    PURPLE = '\033[94m'
    GREEN = '\033[92m'
    YELLOW = '\033[93m'
    RED = '\033[91m'
    ENDC = '\033[0m'

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions