-
Notifications
You must be signed in to change notification settings - Fork 73
/
game.py
42 lines (34 loc) · 810 Bytes
/
game.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#coding: utf-8
""" LionelOne.
Usage:
game.py staff
game.py start
game.py (-h | --help)
game.py --version
Options:
start Let's Begin the Game
staff Thanks to all contributors
-h --help Show this screen.
--version Show version.
"""
from docopt import docopt
from core.hire_system import HireSystem
from core.startup_game import StartUpGame
def start():
'''start up game'''
game = StartUpGame()
game.opening()
game.hire_coders()
game.run()
def staff():
''' Thanks to all contrubutors coder '''
HireSystem.staff()
if __name__ == '__main__':
arguments = docopt(__doc__, version=u'南山启示录 V0.1')
if arguments['start']:
start()
if arguments['staff']:
staff()
else:
## whatever
start()