Replies: 1 comment
-
Nevermind i was just in the wrong environment |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
DrawBattleOrder
While working on a reinforcement learning bot, I realized that having access to a DrawBattleOrder class, similar to the ForfeitBattleOrder we already have, would be useful during early training to avoid both agents switching for 999 turns until the hard cap is reached.
I tried to add one myself in the battle_order file, but I've been unsuccessful so far. Showdown already supports the /offerdraw command, but I have almost no knowledge of how the server interacts with Poke-env.
This is how the ForfeitBattleOrder is defined in player/battle_order.py.
If anyone has an idea on how to implement a similar class for the /offerdraw command, I'd greatly appreciate the help.
Beta Was this translation helpful? Give feedback.
All reactions