Skip to content

Repository files navigation

Pokedex-CLI

A Pokedex built using Go and PokeAPI with a CLI interface.

How to run?

  • install Go and clone this repository
  • change current directory to pokedex-cli
  • run go run . to run directly on the terminal
  • optionally, go build -o Pokedex to create an executable file

Commands

  1. explore: Displays list of pokemons available in the location
  2. catch : Attempt to catch a pokemon specified in the argument
  3. inspect : Displays stats of a collected Pokemon
  4. pokedex: Displays collected Pokemons
  5. exit: Exit the Pokedex
  6. help: Displays a help message
  7. map: Displays next 20 locations
  8. mapb: Displays previous 20 locations

Advanced Features

  • map locations are cached for snappy experience (~5s)

To do

  • cache explore
  • local saving
  • pokeball addition
  • currency addition
  • selling pokemons
  • berry support
  • pokeball variety with different catch rate
  • 'advanced': simulate battle
  • move with arrow keys, rather than typing location

About

A Pokedex with CLI using GO.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages