Skip to content

Pokedex Break Project#1

Open
wangg131 wants to merge 39 commits intomasterfrom
lw/master
Open

Pokedex Break Project#1
wangg131 wants to merge 39 commits intomasterfrom
lw/master

Conversation

@wangg131
Copy link
Owner

I really enjoyed working with this API. It was a lot more complex than I imagined, in which I found very rewarding.

I gave myself the suggested time-limit for working on this project, so I didn't get to pursue building some one of the target goals.

The API only allows for users to search by its National Pokedex ID, and you can do that on this app by getting your favorite monster's ID from the website below. I really wanted to be able to search by name since some people may only know their favorite creatures' numbers if at all. I was in the middle of writing methods that would have allowed for that functionality which works in the terminal output, but I didn't get around to incorporating that feature fully in this project. I plan on re-visiting this to be able to search by its name since it would be much more user-friendly.

The intricacies of the Pokemon world made this pretty challenging, especially with Pokemon types. It's pretty basic to include all of the Pokemon's types. However, it would throw an error if we queried for a Pokemon that only had one. Thus, the conditional block starting on line 45 in pokedex_controller.rb is a little redundant because it was a workaround to avoid errors. Any suggestions on how this could be improved would be great.

Thanks!

http://bulbapedia.bulbagarden.net/wiki/List_of_Pok%C3%A9mon_by_National_Pok%C3%A9dex_number

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.

1 participant