-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Intermediategreat for learninggreat for learningenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
Add colors to make the output more visually appealing, especially for Pokémon types.
Current Behavior
Output is plain text with no colors.
Expected Behavior
Add colors to different parts of the output, especially Pokémon types.
Example Output
Name: Pikachu
National Pokédex Number: 25
Type(s): Electric (in yellow/orange color)
Implementation Steps
- Research color libraries like
coloramaor ANSI escape codes - Add color to Pokémon types (Fire = red, Water = blue, etc.)
- Optionally add colors to other parts of the output
- Update requirements.txt if using a library
Skills Required
- Basic Python knowledge
- Understanding of terminal colors
- Library research skills
What You'll Learn
- Working with external libraries
- Terminal color codes
- Library documentation reading
Testing
Test with different Pokémon types to see various colors:
python pokedex.py pikachu(Electric - yellow)python pokedex.py charizard(Fire/Flying - red/blue)python pokedex.py blastoise(Water - blue)
Hints
coloramais a popular library for cross-platform colors- You can also use ANSI escape codes directly
- Consider making colors optional (detect if terminal supports colors)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Intermediategreat for learninggreat for learningenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers