
Lv.1
一个学期不搞编程逐渐废物的狐狸...QQ聊天:779410299
签名:墓前16新喵 (鄙人太菜连个点猫都没有qwq) 原谅我作品的说明和操作全忘了qwq (遗失2年的记忆回不来力qwq) 正在努力交朋友.... 可以在qq群见到我~ 推荐关注 Simplay(ID:16596017) 林夕狐(不 要 脸)
在 【UT】那些鬼畜名字 中回复
先取一个名字:asriel dreemurr(名字太长...)#假如能
小花:你好,我是....我是你
羊妈:哎,哎我,我...不用帮你解密题了,你都会
*我是sans
*你应该躲到灯下,
帕博瑞斯:人类!诶,怎摸是只羊?
鱼姐没出现
小羊在热域...烤全羊了...
2022-01-12T17:24:58 点赞:2
在 新版本物理引擎疑问 中回复
改了以后都不会用了 imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E6%90%93%E5%A4%B4.gif"alt="emotion_编程猫_搓头"
2022-02-01T18:21:38 点赞:0
在 ~~~~(>_<)~~~~呜呜谁知道多人排行榜怎么做呜呜 中回复
https://shequ.codemao.cn/work/92810220这个是我找到的做的最好~
2022-06-03T15:43:38 点赞:1
在 代码接龙(python) 中回复
import turtle
p = turtle.Pen()
colors = ["red","yellow","green","orange"]
p.pensize(2)
# 四色圆
for i in colors:
p.pencolor(i)
p.circle(30)
p.left(90)
p.hideturtle()
turtle.done()
import tkinter as tk#我就知道是这里错了...
root = tk.Tk()
root.title('game ting')
root.geometry('458x300')
root.resizable(width=False,height=False)
root.wm_attributes('-topmost',1)
该我接了~!
2022-06-19T17:18:57 点赞:0
在 【Python作品分享】大佬勿进:海龟编辑器之欢迎代码【教程贴】 中回复
import tkinter.messagebox
import time
import random
import tkinter as tk
import os
window = tk.Tk()
window.title('game ting')
window.geometry('458x300')
window.resizable(width=False,height=False)
window.wm_attributes('-topmost',1) # 窗口永远在前面
zj=1
chuangkou=0
ti=0
wuxian=0
if wuxian==1:
wuxian=1
else:
wuxian=0
counter = 0
tili=100
LVO=1
color_li = ['lightpink','white','blue','yellow','pink','lightblue']
people=1
gg = tk.Label(window, text='增加值:0', width=20,bg='yellow')
gg.place(x=310,y=0)
l = tk.Label(window, text='金钱:0', width=20,bg='yellow')
l.pack()
p = tk.Label(window, text='员工:1', width=20,bg='red')
p.pack()
w = tk.Label(window, text='体力:100', width=20,bg='white')
w.place(x=0,y=0)
def 喵():
w = tk.Tk()
window.destroy()
w.destroy()
def buy_tili():
h=tk.Tk()
h.title('体力购买商店')
h.geometry('300x200')
h.resizable(width=False,height=False)
h.wm_attributes('-topmost',1)
asdf=tk.Label(h, text='购买了|'+str(ti)+'|点体力', width=70,bg='red')
asdf.pack()
def tili_four():
global counter
global tili
global ti
global wuxian
if counter>=200000000000:
counter =counter-200000000000
wuxian=1
tili=tili+200000000000
ti=ti+200000000000
asdf.config(text='您已购买了无限体力,不能再次购买')
w.config(text='无限体力')
l.config(text='金钱:'+str(counter))
if wuxian==1:
if tili<=20000000000:
tili=200000000000
if wuxian==1:
tili1.place(x=1000,y=1000)
tili2.place(x=1000,y=1000)
tili3.place(x=1000,y=1000)
tili4.place(x=1000,y=1000)
if counter<200000000000:
tk.messagebox.showinfo(title='提示',message='''200000000000元购买无限体力
你的钱不够了''')#提示信息对话窗
#tk.messagebox.showinfo(title='提示',message='获得7000金币')
def tili_one():
global counter
global tili
global ti
if counter>=2:
counter =counter-2
tili=tili+10
ti=ti+10
asdf.config(text='购买了|'+ str(ti)+'|点体力')
w.config(text='体力:'+str(tili))
l.config(text='金钱:'+str(counter))
if counter<2:
tk.messagebox.showinfo(title='提示',message='''10点体力2元钱
你的钱不够了''')#提示信息对话窗
#tk.messagebox.showinfo(title='提示',message='获得7000金币')
tili1 = tk.Button(h,
text='''2元增加10点体力''',
font=('楷体', 12),
width=18,
height=3,
bg='white',
command=tili_one)
tili1.place(x=0,y=22)
def tili_two():
global counter
global tili
global ti
if counter>=20:
counter =counter-20
tili=tili+100
ti=ti+100
asdf.config(text='购买了|'+ str(ti)+'|点体力')
w.config(text='体力:'+str(tili))
l.config(text='金钱:'+str(counter))
if counter<20:
tk.messagebox.showinfo(title='提示',message='''100点体力20元钱
你的钱不够了''')#提示信息对话窗
#tk.messagebox.showinfo(title='提示',message='获得7000金币')
tili2 = tk.Button(h,
text='''20元增加100点体力''',
font=('楷体', 12),
width=18,
height=3,
bg='white',
command=tili_two)
tili2.place(x=150,y=22)
def tili_three():
global counter
global tili
global ti
if counter>=200:
counter =counter-200
tili=tili+1000
ti=ti+1000
asdf.config(text='购买了|'+ str(ti)+'|点体力')
w.config(text='体力:'+str(tili))
l.config(text='金钱:'+str(counter))
if counter<200:
tk.messagebox.showinfo(title='提示',message='''1000点体力200元钱
你的钱不够了''')#提示信息对话窗
#tk.messagebox.showinfo(title='提示',message='获得7000金币')
tili3 = tk.Button(h,
text='''200元增加1000点体力''',
font=('楷体', 12),
width=18,
height=3,
bg='white',
command=tili_three)
tili3.place(x=0,y=100)
tili4 = tk.Button(h,
text='''200000000000元
购买无限体力''',
font=('楷体', 12),
width=18,
height=3,
bg='white',
command=tili_four)
tili4.place(x=150,y=100)
h.mainloop()
gua_qian=0
j=0
s=25
hh=0
def many_money():
w = tk.Tk()
w.title('开挂')
w.geometry('150x145')
w.resizable(width=False,height=False)
w.wm_attributes('-topmost',1) # 窗口永远在前面
gua = tk.Label(w, text='这里是开挂的地方', width=70,bg='red')
gua.pack()
def gua_two():
global people
global counter
global gua_qian
global hh
gua_qian +=1
if gua_qian==10:
print('我想,你应该弄点员工...如果你能看见的话')
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
if gua_qian==15:
print('你在玩我?你应该弄点员工,别逼我!')
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
if gua_qian==25 :
print('你弄折磨多钱做什么?还不如多弄点员工!')
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
if gua_qian==35:
print('好,你不理我!那就别怪我不客气!')
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
if gua_qian==50:
print('好了,你可以买员工了...')
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
if gua_qian>=51:
j=10000
s=2500
counter=counter+喵00000
l.config(text='金币:'+str(counter))
jq = tk.Button(w,
text='增加金币',
font=('楷体', 12),
width=18,
height=3,
bg='white',
command=gua_two)
jq.place(x=j,y=s)
def gua_one():
global people
global counter
global hh
global gua_qian
people=people+喵00000
p.config(text='员工:'+str(people))
if gua_qian==10:
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
if gua_qian==15:
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
if gua_qian==25 :
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
if gua_qian==35:
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
if gua_qian==50:
if hh==1:
hh=0
gua_qian=0
print('这才对嘛...')
yg = tk.Button(w,
text='增加员工',
font=('楷体', 12),
width=18,
height=3,
bg='white',
command=gua_one)
yg.place(x=0,y=85)
w.mainloop()
def kind():
global people
global counter
global zj
people=people*0+1
p.config(text='员工:'+str(people))
zj=1
gg.config(text='增加值:'+str(zj))
counter =counter*0
l.config(text='金钱:'+ str(counter))
menubar=tk.Menu(window)
#菜单一
filemenu=tk.Menu(menubar,tearoff=0)
#一级菜单
menubar.add_cascade(label='菜单',menu=filemenu)
#二级菜单
filemenu.add_command(label='开挂',command=many_money)
filemenu.add_command(label='购买体力',command=buy_tili)
filemenu.add_separator()#分割线
filemenu.add_command(label='归零',command=kind)
filemenu.add_separator()
filemenu.add_command(label='退出',command=kill)
filemenu.add_separator()
def gen():
window = tk.Tk()
window.title('检查更新')
window.geometry('630x150')
window.resizable(width=False,height=False)
window.wm_attributes('-topmost',1)
# 设置下载进度条
tk.Label(window, text='正在检查游戏更新状况:', ).place(x=50, y=30)
canvas = tk.Canvas(window, width=465, height=22, bg="white")
canvas.place(x=110, y=60)
# 显示下载进度
def progress():
btn_download.place(x=1000, y=1000)
2022-06-19T17:24:44 点赞:0
在 【Python作品分享】猜数字【作品秀】 中回复
#猜数字
import random
import time
l=['幸运数字:']
w=['猜对的数字:']
n=['猜错的数字:']
while(1):
g=random.randint(1,100)
for i in range(10):
try:
c=int(input('请输入你所猜的数字(1-100):'))
if c==g:
print('猜对啦!')
l.append(g)
l.append(',')
w.append(g)
w.append(',')
print('-'*80)
for i in l:
print(i,end='',sep='')
print('\n')
for i in w:
print(i,end='',sep='')
print('\n')
for i in n:
print(i,end='',sep='')
print('\n')
break
if c>g:
print('猜大啦!你还剩:',str(9-i),'次机会')
if c<g:
print('猜小啦!你还剩:',str(9-i),'次机会')
except:
print('错误!你还剩:',str(9-i),'次机会')
if c!=g:
print('你输了,这个数字是:',g)
print('-'*80)
l.append(g)
l.append(',')
n.append(g)
n.append(',')
for i in l:
print(i,end='',sep='')
print('\n')
for i in n:
print(i,end='',sep='')
print('\n')
for i in w:
print(i,end='',sep='')
print('\n')
2022-06-19T17:28:05 点赞:1
在 【Python作品分享】3n+1猜想枚举版【作品秀】 中回复
print('请选择n的范围')
a = int(input('从何值开始枚举:'))
b = int(input('从何值结束枚举:'))
j=0
for i in range(a,b+1):
n=i
while(n!=1):
j+=1
if n%2==0:
n/=2
else:
n=3*n+1
print('数字',i,'最后得到的数', n)
print('计算次数=', j)
我感觉我的要比你简单多诶~
2022-06-19T17:53:47 点赞:0
在 怎么让克隆体不自动删除?求解!!! 中回复
当克隆体数量大于512,系统会将比较早出现的克隆体给删掉...
或者是设个变量(x=0),如果克隆体数量>=300,x=1。然后克隆体那边就是:克隆体启动时,如果x=1,删除克隆体
2022-07-23T17:08:15 点赞:1
在 【小游戏】故事复制接龙 中回复
我打碎了夕阳,夕阳砸到地球上,我被气化啦, 然后无了
第三集完
第四集开始(在第三集玩第四集)
有一天 你在家里刷手机 突然... ...
你进了后室
你在level0被猎狗追
哈哈哈哈哈哈哈哈哈
然后突然窜稀
你遇到了坤坤
你撞了他,say:“你干嘛~哎哟~”。
他大怒,向你跳起了喵,你的眼睛大受震撼。
于是你也加入了他:喵~~喵~~
然后你变成了鸡,然后你被人宰(zai)了
之后通过超能力:穿越游戏和世界,来到mc
然后你被僵尸杀死了
然后你又活了,并且活得很好。
你不小心被传送到了末影龙跟前...
你看着比你大n倍的末影龙,心里无比激动,然后末影龙直接单杀了你
第四集完
2022-07-30T10:42:44 点赞:0
在 一个萌新到达50再创作的欣喜))) 中回复
服了,一个萌新浏览数1.4w,722点赞,426被收藏,241被创作,服了,这点赞和浏览没啥用啊~ imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E6%90%93%E5%A4%B4.gif"alt="emotion_编程猫_搓头"
2022-07-31T17:14:15 点赞:0
在 以后再也不立任何flag 中回复
直接立下flag....做完后招策划 imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%8E%89%E5%AE%B3%E4%BA%86.gif"alt="emotion_编程猫_厉害了"
2022-08-20T10:23:23 点赞:1