Skip to content

Fix Bug with Python2 support and provide more info data

Compare
Choose a tag to compare
@Kautenja Kautenja released this 14 Sep 07:12
· 143 commits to master since this release
e3bc4cf
  1. remove use of enum package that isnt introduced until python 3.4
  2. update the info dictionary to provide more rich information
Key Type Description
coins int The number of collected coins
flag_get bool True if Mario reached a flag or ax
life int The current life (i.e., {3, 2, 1})
score int The cumulative in-game score
stage int The current stage (i.e., {1, ..., 4})
time int The time left on the clock
world int The current world (i.e., {1, ..., 8})
x_pos int Mario's x position in the stage
  1. refactor internal code to be more readable and concise