Skip to content

Releases: hsahovic/poke-env

Add Crown Tundra compatibility

02 Nov 00:06
Compare
Choose a tag to compare

This release adds Crown Tundra data and compatibility.

Minor bug fixes

27 Oct 01:19
Compare
Choose a tag to compare

This releases fixes a couple of bugs:

  • Some enumeration values were missing
  • EnvPlayer was unable to run play_against multiple times

Add isle of armor compatibility

22 Oct 00:32
Compare
Choose a tag to compare

This release brings poke-env up to date with showdown's post-isle of armor release state.

Minor bug fixes

16 Sep 00:27
Compare
Choose a tag to compare

This release introduces a couple of minor bugfixes:

  • In showdown team parsing, pokemons without items caused errors as per #65
  • Showdown t: messages could cause errors
  • swap-boosts messages were not correctly parsed
  • SHP had a couple of small quirks (#61)

Additionally, this release also adds raw stats utilities contributed by @dmizr (#54).

Minor bug fix in `Pokemon.damage_multiplier` and misc changes

08 Jun 09:35
Compare
Choose a tag to compare

This releases fixes a bug arising when special moves (eg. recharge) are used in Pokemon.damage_multiplier by introducing a default returned value of 1 when the argument move has no type.

Other changes:

  • RandomPlayer can be found in poke_env.player.baselines as well as poke_env.player.random_player.
  • Add choose_default_move method to Player.
  • An infinite battle loop could arose with baseline players in very specific situations related to ditto. A fail-safe mechanism has been introduced to evade them: when specific errors are encountered in a battle, the selected move has a small chance of being showdown's default order.

Add `player_evaluation` function, baseline players and helper methods

24 May 01:26
Compare
Choose a tag to compare

This release introduces the evaluate_player function, two baseline players (MaxBaseDamagePlayer and SimpleHeuristicsPlayer) and several helper methods (notably Player.damage_multiplier and Player.battle_against).

Add laddering utility

16 May 00:32
Compare
Choose a tag to compare

This release adds the ladder method to Player objects, which allow them to search and play games directly on a showdown server's ladder.

Battle objects also now include rating and opponent_rating attributes.

Add default options for `Player` instances

10 May 07:22
Compare
Choose a tag to compare

This release introduces default options for Player instances:

  • By default, the player configuration is automatically populated with a unique username designed to work on authentication-less showdown servers
  • By default, the server configuration points to the default localhost server
  • By default, the Player plays gen8randombattles
  • The documentation is updated accordingly

Minor performance optimizations

09 May 10:04
Compare
Choose a tag to compare

This update introduces minor performance optimizations (15% to 30% reduced runtime on RandomPlayer battles) and new Effects.

Add gen 8 support

08 May 22:31
Compare
Choose a tag to compare

Version 0.3.0 includes support for gen 8 single mechanics, including dynamax and gigantamax. It also fixes some minor errors.