Last sunday,when I explored github,I found Mario-Level-1 which I enjoyed very much when i was a kid.

Mario-Level-1 is writen in python(pygame)!

I want to hack it !

First of all,I need to install Pygame on my Mac OSX

According to some online tutorial,I fail to install it because I could’t install smpeg with brew. All the method to install smpeg will fail.

Then I found an easy way to install pygame , just install:

All started working!

Enjoying it!


virtualenv env3 -p python3.6
source env3/bin/
pip install pygame # ok!