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

API 50 call per 10M & All Pokemon Object not created #23

Closed YehyunLee closed 11 months ago

YehyunLee commented 11 months ago

There was problem with API limit where 50 call per 10min.

Also, when creating pokemon object, it uses string names not IDs, thus, not able to create pokemon objects correctly.

YehyunLee commented 11 months ago

This has been not resolved with the new branch I committed. We need to merge it and fix all conflicts.

Commit msg: API has 50 call per 10min limit. Thus, we are calling 1000 calls for 3~4H and save it to pickle. This branch include code for loading pickle as well. This also fixed the bug that involved not able to creating all pokemon object due to using name not IDs