https://github.com/siddhant-vij/pokedex
Practice project | REPL pokedex built with Golang in CLI.
https://github.com/siddhant-vij/pokedex
caching go json pokeapi pokedex
Last synced: 3 months ago
JSON representation
Practice project | REPL pokedex built with Golang in CLI.
- Host: GitHub
- URL: https://github.com/siddhant-vij/pokedex
- Owner: siddhant-vij
- License: mit
- Created: 2024-03-24T23:05:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-31T02:11:16.000Z (over 2 years ago)
- Last Synced: 2025-06-25T22:39:58.691Z (about 1 year ago)
- Topics: caching, go, json, pokeapi, pokedex
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pokedex
A Pokedex is just a make-believe device that lets us look up information about any Pokemon - things like their name, type, and stats. A command-line REPL, using the PokéAPI to power all of the data that's needed.
## Goals
- Parse JSON in Go
- Making HTTP requests in Go
- A CLI tool interacting with a back-end API
- Local Go development and tooling
- Caching to improve performance
- Update the CLI to support the "up/down" arrow to cycle through previous commands
- Persist a user's Pokedex to disk so they can save progress between sessions
## Future Improvements
- Simulate battles between pokemon
- Add unit tests
- Refactor your code to organize it better and make it more testable
- Keep pokemon in a "party" and allow them to level up
- Allow for pokemon that are caught to evolve after a set amount of time
- Use the PokeAPI to make exploration more interesting. For example, rather than typing the names of areas, maybe you are given choices of areas and just type "left" or "right"
- Random encounters with wild pokemon
- Adding support for different types of balls (Pokeballs, Great Balls, Ultra Balls, etc), which have different chances of catching pokemon
## License
Distributed under the MIT License. See [`LICENSE`](https://github.com/siddhant-vij/Pokedex/blob/main/LICENSE) for more information.