A command-line Pokédex application that allows you to explore the Pokémon world, catch Pokémon, and manage your collection using a REPL interface.
- Explore Pokémon locations in the world
- Catch wild Pokémon with a chance-based system
- Inspect caught Pokémon's stats and details
- View your Pokédex collection
- Built-in caching system for API responses
Data source: PokéAPI
# Requires Go 1.20 or higher
git clone https://github.com/yourusername/pokedexcli
cd pokedexcli
go build./pokedexclihelp- Display all available commandsmap- Show next 20 locationsmapb- Show previous 20 locationsexplore <location>- Explore Pokémon in a locationcatch <pokemon>- Try to catch a Pokémoninspect <pokemon>- View details of caught Pokémonpokedex- View all caught Pokémonexit- Exit the Pokédex
- Built in Go
- Uses PokeAPI (https://pokeapi.co/)
- Implements in-memory caching with 30-minute expiration
- Concurrent cache cleanup
- Command History
- Support "up" arrow to cycle through previous commands
- Enhanced Gameplay
- Simulate battles between pokemon
- Pokemon party system with leveling
- Evolution system based on time
- Random encounters with wild pokemon
- Different types of Pokéballs with varying catch rates
- Technical Improvements
- Additional unit test coverage
- Code refactoring for better organization
- Persistent storage for saving progress
- Enhanced Exploration
- Direction-based navigation system
- More interactive location exploration
