这是我用python做的一个荒岛求生小游戏。
大概做了1个半小时,
希望能火,
不求点赞和收藏,
想复制就复制吧,我不强求。
#想复制就复制,别被我发现就可以了……
import easygui
import requests
import random
import bs4
from time import*
IP = 100
JEZ = 100
mg = 0
fz = 0
cailiao = 0
daojv = ""
jiajiv = []
shiwu = 0
wqgjl = 0
hx = 0
gjdj = 0
yaocai = 0
#integerbox
#choicebox选择式
kaishi = easygui.enterbox("你好,请输入您的名字↓↓↓","注册名字",["小灰块"])
kaishis = easygui.msgbox("""
注册成功!
(关闭标签将注销账号)
""")
xb = easygui.choicebox("你好,"+str(kaishi)+"请选择性别↓↓↓",str(kaishi),["男♂","女♀"])
while hx < 1:
ditu = easygui.choicebox("选择地形",str(kaishi),["森林","草原","雪原(暂不开放)"])
if ditu =="雪原(暂不开放)":
cwdmsjqpgzbzd = random.randint(10000,100000)
sey = easygui.msgbox("错误"+str(cwdmsjqpgzbzd))
hx = 1
else:
sey = easygui.msgbox("----进入"+str(ditu)+"地图----")
xsjc = easygui.choicebox("是否进入游戏介绍?",str(kaishi),["是(Yes)","否(No)"])
if xsjc =="是(Yes)":