Kessler is a simulation environment loosely modeled after our internal project PsiBee and the external project Fuzzy Asteroids. The game has ships that shoot bullets at asteroids to gain score. Ships can collide with asteroids and other ships and lose lives.
Replaces np functions with math functions which are faster for scalar inputs
Use modulo to improve wrapping
Optimized culling
Use math.radians and math.degrees consistently, and removed manual angle conversion calculations
Optimized circle collision calcs
Additionally, added slight changes to the mine 0 dist fix (issue #35) to clean up code, and make limiting behavior of dist approaching 0 equal to when dist == 0, at least in terms of the speed given to the asteroid
Addresses issues
36, #37, #38, #39
These changes have been thoroughly tested
Additionally, added slight changes to the mine 0 dist fix (issue #35) to clean up code, and make limiting behavior of dist approaching 0 equal to when dist == 0, at least in terms of the speed given to the asteroid
Addresses minor bug #46