Pokemaster

Latest version: v0.2.2

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.2

Bugfixes

- Removed extraneous newlines between sections in `CHANGELOG.md`.

Also fixed `CHANGELOG.md` markdown formatting using
[Markdown Style Guide](http://www.cirosantilli.com/markdown-style-guide/).
([25](https://github.com/kipyin/pokemaster/issues/25))

Development Changes

- Added [`docformatter`](https://github.com/myint/docformatter)
to format docstrings.
([24](https://github.com/kipyin/pokemaster/issues/24))

0.2.1

Bugfixes

- Minor bugfix (
[19](https://github.com/kipyin/pokemaster/issues/19),
[20](https://github.com/kipyin/pokemaster/issues/20),
[21](https://github.com/kipyin/pokemaster/issues/21)
)

Features

- Added random functions to `pokemaster.prng.PRNG`.

More specifically,
the following methods are introduced to the `PRNG` class:

- `random()` generates a random `float` in `[0, 1)`.

- `uniform(a, b)` generates a random `float` in `[a, b)`.
This is equivalent to `a + (b - a) * PRNG().random()`.
([23](https://github.com/kipyin/pokemaster/issues/23))

0.2.0

Features

- Added in-battle stats to `Pokemon`.
([15](https://github.com/kipyin/pokemaster/issues/15))

- Added `pokemaster.Weather` class for weather-related mechanisms.
([17](https://github.com/kipyin/pokemaster/issues/17))

- Added `pokemaster.game_version.Game` enum
to manage game versions, version groups, and generations.
([18](https://github.com/kipyin/pokemaster/issues/18))

0.1.4

Bugfixes

- Pokémon cannot forget HM moves.

Also, Pokémon cannot forget any move
if it knows less than 4 moves,
even when the move is passed by the `forget` kwarg.
([13](https://github.com/kipyin/pokemaster/issues/13))

0.1.3

No significant changes.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.