Kautenja / gym-super-mario-bros

An OpenAI Gym interface to Super Mario Bros. & Super Mario Bros. 2 (Lost Levels) on The NES
Other
678 stars 133 forks source link

[Feature] Typing & Add the number of killed enemies to info object #105

Closed ganyariya closed 2 years ago

ganyariya commented 3 years ago

Description

This PR add the number of killed enemies into info object. For example, mario kills 3 goomba, then info["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

ganyariya commented 3 years ago

I fix 3.5 typing module problem :) (Sorry... for previous bugs.)