用户:梦见未来查看:1 回复:3 评论:1 创建时间:2019-11-02T10:48:16
【作品展示】

【作品介绍】
喵儿童欢乐多吃鸡盗版
只有几个地方
中间还有许多bug
谢谢支持
【作品源代码】
import easygui
import time
easygui.msgbox("你是一个“编程猿”")
easygui.msgbox("天天编“喵”游戏")
easygui.msgbox("有一个被核辐射遍布的岛屿")
easygui.msgbox("每年,都会有许多的叫“和平精英”的大喵来这里跳伞")
easygui.msgbox("但他们没有一个回来的")
easygui.msgbox("有一天,你脑瓜子犯病")
easygui.msgbox("你竟然花钱去作喵,玩“和平精英”")
easygui.msgbox("你加入和平大厅")
easygui.msgbox("人家都穿貂皮大衣,就你一个穿小白衬衫")
a = easygui.buttonbox("你要选择", "", ["充钱", "使用爬虫", "啥都不干"])
if (a == "使用爬虫"):
easygui.msgbox("光子把你告上了法庭,你蹲监狱了10年")
elif (a == "充钱"):
easygui.msgbox('你得到了一个小蓝衣')
if (a == "啥都不干"):
easygui.msgbox('你啥也没有')
def 开始():
def G港():
easygui.msgbox("落地一把信号Q")
if easygui.ynbox("继续","",["继续捡装备","找辆车,走人"]):
easygui.msgbox("你捡了一把m416")
if easygui.buttonbox("你遇到了失落的堪培拉一脚你是否要攻击它","",["攻击","逃跑"]):
easygui.msgbox("它拿了一把P92,它有100滴血")
easygui.msgbox("你用m416打了它五喵")
easygui.msgbox("ta没有血了")
easygui.msgbox("ta有一把P92,你捡了")
else:
h = easygui.buttonbox("你要逃到哪个地方","",["医院","路边茅坑","P城","山顶废墟",])
if (h == "医院"):
医院()
if (h == "路边茅坑"):
茅房()
if (h == "P城"):
P城()
if (h == "山顶废墟"):
废墟()
else:
e = easygui.buttonbox("你要跑到哪个地方","",["医院","路边茅坑","P城","山顶废墟",])
if (e == "医院"):
医院()
if (e == "路边茅坑"):
茅房()
if (e == "P城"):
P城()
if (e == "山顶废墟"):
废墟()
def 医院():
c = "失落的秋日森林一角"
easygui.msgbox("医院今天异常的穷")
easygui.msgbox("只有一把S686")
easygui.msgbox("你遇到了"+ c)
if easygui.ynbox("是否攻击","",["是","否"]):
easygui.msgbox("他拿了一个98k")
easygui.msgbox("虽然没有倍镜但是ta会顺狙")
if easygui.ynbox("请选择","",["走位","进攻"]):
easygui.msgbox("你通过蛇皮走位,渐渐的打败了ta")
easygui.msgbox("胜利!")
d = easygui.buttonbox("你要逃到哪个地方","",["路边茅坑","P城","山顶废墟",])
if (d == "路边茅坑"):
茅房()
if (d == "P城"):
P城()
if (d == "山顶废墟"):
废墟()
else:
easygui.msgbox("由于你的经验不够,被他打败了")
if easygui.ynbox("请选择","",["关闭","重新开始"]):
easygui.msgbox("继续")
else:
开始()
def 茅房():
easygui.msgbox("茅房特别肥")
easygui.msgbox("既然有一把AKM")
if easygui.buttonbox("路边有一辆蹦蹦","",["坐上去","不坐"]):
d = easygui.buttonbox("你要跑到哪个地方","",["医院","P城","山顶废墟",])
if (d == "医院"):
医院()
elif (d == "P城"):
P城()
def P城():
easygui.msgbox("P城发生了人喵发")
easygui.msgbox("你刚过去")
easygui.msgbox("就被4个人机打喵啦")
if easygui.ynbox("请选择","",["关闭","重新开始"]):
easygui.msgbox("继续")
else:
开始()
def 废墟():
easygui.msgbox("你遇到了“失落的梦见未来”")
easygui.msgbox("ta开了个挂(because他是作者)")
if easygui.ynbox("是否打他","",["打他","把信号Q给他"]):
easygui.msgbox("他因为开了挂")
easygui.msgbox("所以他拿一把∞子弹的信号Q")
easygui.msgbox("他把你烧喵了")
if easygui.ynbox("请选择","",["关闭","重新开始"]):
easygui.msgbox("继续")
else:
开始()
def 落地():
a = easygui.buttonbox("你要去哪个地方","",["G港","医院","路边茅坑","P城","山顶废墟","啥都不干"])
if (a == "医院"):
医院()
if (a == "G港"):
G港()
if (a == "路边茅坑"):
茅房()
if (a == "P城"):
P城()
if (a == "山顶废墟"):
废墟()
if (a == "啥都不干"):
easygui.msgbox('你被毒圈包围了')
if easygui.ynbox("请选择","",["关闭","重新开始"]):
easygui.msgbox("继续")
else:
开始()
if easygui.ynbox("是否开始游戏","",["是","否"]):
easygui.msgbox("你点击了开始游戏")
落地()
开始()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn改进:
import easygui
easygui.msgbox("你是一个“编程猿”")
easygui.msgbox("天天编“喵”游戏")
easygui.msgbox("有一个被核辐射遍布的岛屿")
easygui.msgbox("每年,都会有许多的叫“和平精英”的大喵来这里跳伞")
easygui.msgbox("但他们没有一个回来的")
easygui.msgbox("有一天,你脑瓜子犯病")
easygui.msgbox("你竟然花钱去作喵,玩“和平精英”")
easygui.msgbox("你加入和平大厅")
easygui.msgbox("人家都穿貂皮大衣,就你一个穿小白衬衫")
a = easygui.buttonbox("你要选择", "", ["充钱", "使用爬虫", "啥都不干"])
if a == "使用爬虫":
easygui.msgbox("光子把你告上了法庭,你蹲监狱了10年")
elif a == "充钱":
easygui.msgbox('你得到了一个小蓝衣')
if a == "啥都不干":
easygui.msgbox('你啥也没有')
def start():
def portG():
easygui.msgbox("落地一把信号Q")
if easygui.ynbox("继续", "", ["继续捡装备", "找辆车,走人"]):
easygui.msgbox("你捡了一把m416")
if easygui.buttonbox("你遇到了失落的堪培拉一脚你是否要攻击它", "", ["攻击", "逃跑"]):
easygui.msgbox("它拿了一把P92,它有100滴血")
easygui.msgbox("你用m416打了它五喵")
easygui.msgbox("ta没有血了")
easygui.msgbox("ta有一把P92,你捡了")
else:
h = easygui.buttonbox("你要逃到哪个地方", "", ["医院", "路边茅坑", "P城", "山顶废墟", ])
if h == "医院":
hospital()
if h == "路边茅坑":
latrine()
if h == "P城":
cityP()
if h == "山顶废墟":
ruins()
else:
string = easygui.buttonbox("你要跑到哪个地方", "", ["医院", "路边茅坑", "P城", "山顶废墟", ])
if string == "医院":
hospital()
if string == "路边茅坑":
latrine()
if string == "P城":
cityP()
if string == "山顶废墟":
ruins()
def hospital():
c = "失落的秋日森林一角"
easygui.msgbox("医院今天异常的穷")
easygui.msgbox("只有一把S686")
easygui.msgbox("你遇到了" + c)
if easygui.ynbox("是否攻击", "", ["是", "否"]):
easygui.msgbox("他拿了一个98k")
easygui.msgbox("虽然没有倍镜但是ta会顺狙")
if easygui.ynbox("请选择", "", ["走位", "进攻"]):
easygui.msgbox("你通过蛇皮走位,渐渐的打败了ta")
easygui.msgbox("胜利!")
d = easygui.buttonbox("你要逃到哪个地方", "", ["路边茅坑", "P城", "山顶废墟", ])
if d == "路边茅坑":
latrine()
if d == "P城":
cityP()
if d == "山顶废墟":
ruins()
else:
easygui.msgbox("由于你的经验不够,被他打败了")
if easygui.ynbox("请选择", "", ["关闭", "重新开始"]):
easygui.msgbox("继续")
else:
start()
def latrine():
easygui.msgbox("茅房特别肥")
easygui.msgbox("既然有一把AKM")
if easygui.buttonbox("路边有一辆蹦蹦", "", ["坐上去", "不坐"]):
d = easygui.buttonbox("你要跑到哪个地方", "", ["医院", "P城", "山顶废墟", ])
if d == "医院":
hospital()
elif d == "P城":
cityP()
def cityP():
easygui.msgbox("P城发生了人喵发")
easygui.msgbox("你刚过去")
easygui.msgbox("就被4个人机打喵啦")
if easygui.ynbox("请选择", "", ["关闭", "重新开始"]):
easygui.msgbox("继续")
else:
start()
def ruins():
easygui.msgbox("你遇到了“失落的梦见未来”")
easygui.msgbox("ta开了个挂(because他是作者)")
if easygui.ynbox("是否打他", "", ["打他", "把信号Q给他"]):
easygui.msgbox("他因为开了挂")
easygui.msgbox("所以他拿一把∞子弹的信号Q")
easygui.msgbox("他把你烧喵了")
if easygui.ynbox("请选择", "", ["关闭", "重新开始"]):
easygui.msgbox("继续")
else:
start()
def landing():
string = easygui.buttonbox("你要去哪个地方", "", ["G港", "医院", "路边茅坑", "P城", "山顶废墟", "啥都不干"])
if string == "医院":
hospital()
if string == "G港":
portG()
if string == "路边茅坑":
latrine()
if string == "P城":
cityP()
if string == "山顶废墟":
ruins()
if string == "啥都不干":
easygui.msgbox('你被毒圈包围了')
if easygui.ynbox("请选择", "", ["关闭", "重新开始"]):
easygui.msgbox("继续")
else:
start()
if easygui.ynbox("是否开始游戏", "", ["是", "否"]):
easygui.msgbox("你点击了开始游戏")
landing()
start()点赞1
评论