Skip to content

Fix Python3 Compatibility & update newer pokedex#13

Open
andrsrjld wants to merge 4 commits into
Tenchi2xh:masterfrom
andrsrjld:master
Open

Fix Python3 Compatibility & update newer pokedex#13
andrsrjld wants to merge 4 commits into
Tenchi2xh:masterfrom
andrsrjld:master

Conversation

@andrsrjld

Copy link
Copy Markdown

image

Features

  1. Sprite Retrieval from PokemonDB:

    • Utilizes high-quality sprites from PokemonDB for all generations.
    • Supports sprites from Let's Go Pikachu/Eevee and Black & White.
  2. Image Presentation:

    • Restores sprite size to 32x32 for optimal terminal display.
    • Removes color enhancements and cropping for clearer images.
  3. Weakness Display:

    • Limits displayed weaknesses to the top 4 for better readability.
    • Organizes weaknesses with appropriate background colors.
  4. Error Handling:

    • Implements logging for errors during sprite downloads.
    • Ensures that weakness variables are always defined to prevent runtime errors.
  5. Code Quality Improvements:

    • Cleans up and organizes code for improved readability and maintainability.
    • Removes unnecessary code and optimizes function structures.
  6. Consistent Commenting:

    • All comments in the code have been translated to English for clarity and consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants