Project pikachu - First Draft #124
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new integration for Pokémon battles using the
poke-envlibrary, providing both client and server implementations for an HTTP-based reinforcement learning environment. It includes a Dockerized server setup, data models, and documentation for usage and deployment. The changes are grouped below by theme:Environment Implementation
PokemonEnvHTTP client inclient.py, enabling interaction with a Pokémon battle server via standardized methods (reset,step, etc.), and providing payload parsing and state management for reinforcement learning agents.models.py, supporting both move and switch actions, detailed Pokémon stats, and comprehensive battle state representation.Server & Deployment
server/app.pyto expose the Pokémon battle environment over HTTP, with configuration via environment variables for battle format, player username, and server URL.build_docker.sh) and manual entrypoint startup (entrypoint.sh) for flexible deployment and debugging. [1] [2]Documentation
Poke-Env.MD) explaining the environment, installation, usage, and example teams for battles, making it easier for new users to get started.__init__.pyfor clarity and discoverability. [1] [2]