Main Menu:主菜单,启动程序就进入这个状态,可以用UP和DOWN键选择player 1或player 2,按回车键开启游戏。

Load Screen:游戏开始前的加载界面

Game Run:游戏运行时的状态,在代码实现中是Level类。

Game Over: 人物死亡且生命数目为0时到这个状态。

代码太长就不但写了,下面是github地址

https://github.com/marblexu/PythonSuperMario