

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Pokedex
incomplete
2: Submit Your Repo
incomplete
This lesson's interactive features are locked, please to keep using them
The main purpose of a Pokedex is to keep track of all the Pokemon you've caught. Gotta catch 'em all!
Add a pokedex command. It takes no arguments but prints a list of all the names of the Pokemon the user has caught. Example usage:
Pokedex > catch pidgey
Throwing a Pokeball at pidgey...
pidgey was caught!
You may now inspect it with the inspect command.
Pokedex > catch caterpie
Throwing a Pokeball at caterpie...
caterpie was caught!
You may now inspect it with the inspect command.
Pokedex > pokedex
Your Pokedex:
- pidgey
- caterpie
Test your implementation manually! Move on when you're satisfied that it's working.