Farama-Foundation / Arcade-Learning-Environment

The Arcade Learning Environment (ALE) -- a platform for AI research.
GNU General Public License v2.0
2.1k stars 416 forks source link

Modes not working in Breakout #497

Open raymondchua opened 10 months ago

raymondchua commented 10 months ago

Hi, it seems that I cannot access the 12 modes except mode 0 in breakout due to a bug. Can someone verify? Is this perhaps due to my rom not having the modes?

JesseFarebro commented 10 months ago

Hey @raymondchua,

Modes and difficulties currently aren't the most intuitive. You should call ale.getAvailableModes() and ale.getAvailableDifficulties() to figure out which indices you should pass into setMode and setDifficulty. There was discussion here to change this, but it would be a breaking change: https://github.com/Farama-Foundation/Arcade-Learning-Environment/issues/366