25 lines
486 B
Python
25 lines
486 B
Python
'''
|
|
writen by shenjackyuanjie
|
|
mail: 3695888@qq.com
|
|
'''
|
|
|
|
|
|
import sys
|
|
from bin import main
|
|
|
|
|
|
def game():
|
|
# Python vision check
|
|
py_v_info = sys.version_info
|
|
py_v = str('%d.%d.%d' % (py_v_info[0], py_v_info[1], py_v_info[2]))
|
|
print('Simple Rocket is running on Python Vision %s' % py_v)
|
|
if py_v_info[0] == 2:
|
|
raise Exception('Simple Rocket need python vision 3+')
|
|
# start games
|
|
game = main.Game()
|
|
game.start()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
game()
|