hsahovic / poke-env

A python interface for training Reinforcement Learning bots to battle on pokemon showdown
https://poke-env.readthedocs.io/
MIT License
284 stars 94 forks source link

Use Battle class for PvP battles #277

Open Biscoito45 opened 2 years ago

Biscoito45 commented 2 years ago

I am trying to use poke-env to make an AI to play pokemon battles for me in the DS games. The simplest form to do so, would be to teach the AI to win a specific battle with my team, and then use it to tell me the best moves in each scenario. But, in order to get the AI's command, I need to generate the input data for the Neural Network, which is tough to do by hand. I would like to know if there's a way to use the embed_battle method on a custom PvP (me against myself) showdown battle? More clearly, is there a way to transform a PvP battle into a poke-env Battle object?

hsahovic commented 2 years ago

Hey @Biscoito45 ! That sounds like a lot of work - I would suggest trying to see if you could extract data from an emulator. That being said, you could probably do this with a custom agent asking for use move choices via the terminal, and storing embeddings along the way,