toybox-rs / Toybox

The Machine Learning Toybox for testing the behavior of autonomous agents.
http://toybox.rs
27 stars 12 forks source link

Fix bug in MockALE.game_over() for SpaceInvaders train/test #124

Closed jjfiv closed 5 years ago

jjfiv commented 5 years ago

This allows SpaceInvaders crashing into the ground to be a true game_over. It was getting caught in an infinite loop because "update_mut" was detecting the end-of-game condition but the ALE wrappers were not resetting like human_play, etc. would.