Fuzzy-asteroids

Latest version: v3.3.1

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

Scan your dependencies

Page 4 of 6

2.0.0

This update marks a major update to the Asteroid environment which implements multi-agent control of Spaceships. This
is the current working basis for the 2021-2022 FuzzyChallenge, good luck to all competitors!

`AsteroidGame` class changes:
- `time_limit` is no longer specified at the environment level, now is scenario-specific, enabling larger more
complex scenarios to last longer than shorter scenarios
- Removed `lives` as an environment level parameter, specified at the Scenario level via `ship_states`
- Keyboard inputs will be applied universally to all ships in a multi-ship `scenario`
- Ship-to-ship collisions have been enabled, don't bump into your teammates!
- Multi-ship control actions/lives have been built as separate dashboards when graphics are on

`Scenario` class changes:
- Can specify `ship_states` argument in constructor which enables multi-ship scenarios, the `ship_states` argument
should be a `List[Dict[str, object]]` which can be unpacked by the `ShipSprite` constructor. Use the `ShipSprite`
constructor as a blueprint for what can be defined in each dictionary entry
- Can specify a `timeout` argument for each Scenario
- Added `ships()` function which is called by the environment to generate starting Sprites at scenario start-up

`FuzzyAsteroidGame` class changes:
- Added optional `controller_timeout` argument to constructor to enable asynchronous dropout of controller calls
- Added optional `ignore_exceptions` argument to constructor to offer the ability to ignore exceptions for longer
training runs and data analysis.
- Added graphics components to communicate exceptions/timeouts.

1.2.2

- Scenario and controller names can now be shown in the environment graphics

1.2.1

- Default accuracy value changed to 0% not 100%
- Improved print statements for end of scenario to say what scenario was evaluated
- Resolved crash which would occur when turn_rate/thrust given to SpaceShip are NaN

1.2.0

- Added `turn rate` + `thrust` control meters to the graphics and moved lives to center/bottom
- Added more evaluation metrics to the default score class (evaluation times and exception tracking)
- Changed the intrinsic type of the `fuzzy_asteroids.game.StoppingCondition` enum to string for better readability

1.1.9

- Updated the `arcade` dependency to version 2.5.6, resolves some speed/memory issues.

1.1.8

- Fixed the logic that v1.1.7 introduced which was incorrect, where the FuzzyAsteroids class
would not call the controller

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.