Pyafai

Latest version: v1.0.0rc2

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

Scan your dependencies

Page 1 of 2

1.0.0rc.2

* Switch to Semantic Versioning 2.0.0 (http://semver.org/spec/v2.0.0.html)
* Change licensing to Apache License 2.0
* New pointer shape
* Add indexed draw option to shapes
* Add scale attribute to objects
* Allow the body of agents to be kept on death
* [FIX] Correct a problem with the removal of dead agents

1.0rc1

* New __eq__ operator for Perception and Action
* Add option to disable the grid display in World2DGrid
* Add sprite to basic example
* Fix: color setter on the base Shape class
* World is now created in pause mode by default
* The calculation of the location of objects in the grid world has changed. Now, cell coordinates are rounded and not just floored.
* When an agent is killed, its body is immediately removed form the world
* New method in the World2DGrid to get the neighborhood of a given cell
* Allow to change the resolution of the circle shape

1.0b11

* Add Action class. Agent _think method now optionally returns a list of Action objects.
* Fix: On grid world, convert object coordinates to int, to prevent indexing errors.
* Default window title now changes if the world is paused.

1.0b10

* Fix object update method for grid world

1.0b9

* Implement agent death.
* Implement methods to remove objects from the world.

1.0b8

* New methods in the World2DGrid (grid_width, grid_height, get_cell_contents, is_empty, has_object_type_at).
* Add Von Neumann neighbourhood to the World2DGrid.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.