YehyunLee / PokemonGame

Pokémon Battle Simulator allows players to engage in exciting turn-based battles using various Pokémon. The simulator is designed to provide a realistic and engaging Pokémon battle experience, complete with different moves, strategies, and outcomes.
https://docs.google.com/presentation/d/18OZ4ov5St6cAIvWGQH5LLCylErJciXATBBqE7P2hu-o/edit?usp=sharing
3 stars 3 forks source link

Issue with creating pokemon with string names #39

Closed YehyunLee closed 11 months ago

YehyunLee commented 11 months ago

Since pickle file has been only saved with pokemon IDs, NOT string, right now, pokemon creating can only be done with IDs.

We need to have another option for creating pokemon with pokemon name string.

YehyunLee commented 11 months ago

New branch I commited solves this issue simply by checking if parameter is numbers or strings.

This is simple code. After more testing, if issue still hasn't been resolved, please let me know