hsahovic/poke-env
Poke-env: Python Interface for Pokemon Showdown Bots
What it solves
It provides a Python interface for creating automated players (bots) for Pokemon Showdown, allowing developers to move away from manual scripting and instead use structured frameworks for AI development.
How it works
The library allows users to subclass a Player class and override the choose_move method to define the bot's logic. It connects to a Pokemon Showdown server (either a local instance or the official Smogon server) to execute battles, supporting asynchronous operations via asyncio to handle multiple concurrent battles.
Who it’s for
It is designed for developers and researchers interested in building scripted agents, conducting self-play experiments, and implementing reinforcement learning workflows within the Pokemon battle environment.
Highlights
- Supports reinforcement learning and self-play experiments.
- Compatible with local Pokemon Showdown servers for faster development and training.
- Built-in
RandomPlayerfor quick setup verification and testing. - Provides a Pythonic way to interact with the Pokemon Showdown protocol.
Related
- Project
- Project
- Project
- Project
- Project