This PR add the number of killed enemies into info object.
For example, mario kills 3 goomba, then info["kills"] = 3.
Pros and Cons
Pros
This feature can keep track of the number of killed enemies, for analyze log or play.
Cons
To keep track of this, use 5 length list, so speed will be a very little slower.
Notes
This PR also provides type annotations for 3.5 python.
This PR is not need and not important for this gym-super-mario-bros !
So, If you feel that this PR is not important for gym-super-mario-bros, please close this :)
Type of change
Please select all relevant options:
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] MGMT (non-breaking change to deployment, CI, etc.
Description
This PR add the number of killed enemies into
info
object. For example, mario kills 3 goomba, theninfo["kills"] = 3
.Pros and Cons
Notes
This PR also provides type annotations for 3.5 python.
This PR is not need and not important for this
gym-super-mario-bros
! So, If you feel that this PR is not important for gym-super-mario-bros, please close this :)Type of change
Please select all relevant options:
Checklist