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!
1 2 3
virtualenv env3 -p python3.6 source env3/bin/activate.fish pip install pygame # ok!
文章作者 Alan Russell