Kautenja / gym-super-mario-bros

An OpenAI Gym interface to Super Mario Bros. & Super Mario Bros. 2 (Lost Levels) on The NES

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Info['state'] means is not clear.

jcwleo opened this issue · comments

Describe the bug

In SuperMarioBros-v0, when I passed 1-4 stage(Info['stage']==4), Info['stage'] is changed '1'.
I think Info['stage'] represent 1,2,3,4,5,... or 1-1,1-2,1-3.

To Reproduce

Steps to reproduce the behavior:

  1. In SuperMarioBros-v0, when I passed 1-4 stage(Info['stage']==4), Info['stage'] is changed '1'.

Expected behavior

Info['stage'] == '5' or '2-1'

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Operating System: MacOS
  • Python version: 3.6
  • gym-super-mario-bros version: 7.1.6
  • nes-py version:

Additional context

Add any other context about the problem here.

stage (and world) is documented here. There are 8 worlds and 4 stages. Finishing 1-4 (i.e., world=1, stage=4) should take you to 2-1 (i.e., world=2, stage=1) so stage should go from 4 to 1 and world should go from 1 to 2. Does this solve your issue?

@Kautenja Oh, I don't know world is exist.
Thank you for reply :)