start.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:pyFootball 作者: JustnAugr 项目源码 文件源码
def main():
    """pyFootball v.1 Early Alpha

    A python based football management simulator,
    very similar to and heavily based on Football Manager created by Sports
    Interactive.

    To start or load a game, run this file without any parameters.

    Coded by Justin Auger
    http://justnaugr.github.io\n
    Credits to Click for the great CLI.

    """
    start = click.prompt('Would you like to start a new game or load a saved game?', type=click.Choice(['new','load']))
    if start=='new':
        new_game()
    elif start=='load':
        load_game()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号