Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3576737
  • 博文数量: 365
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2522
  • 用 户 组: 普通用户
  • 注册时间: 2019-10-28 13:40
文章分类

全部博文(365)

文章存档

2023年(8)

2022年(130)

2021年(155)

2020年(50)

2019年(22)

我的朋友

发布时间:2022-09-20 14:04:43

from lunar_sprites import *class PlaneGame(object):    """兔子接月饼游戏"""    def __init__(self):        print("游戏初始化")        pygame.init() &n.........【阅读全文】

阅读(283) | 评论(0) | 转发(0)

发布时间:2022-09-16 12:05:34

import turtlet = turtle.Pen()  # 画笔一 用于画图t.speed(0)# 花纹颜色 #F29407# 饼身颜色 #F8B41A# 画 饼身部分def outfill_flower(flower_num: "花瓣数量", flower_color: "花瓣颜色"):    for i in range(flower_num):     &nbs.........【阅读全文】

阅读(368) | 评论(0) | 转发(0)

发布时间:2022-09-15 17:32:59

import randomimport turtlefrom turtle import *t = turtle.Turtle()w = turtle.Screen()def tree(branchLen, t):    if branchLen > 3:        if 8 <= branchLen <= 12:       &nbs.........【阅读全文】

阅读(458) | 评论(0) | 转发(0)

发布时间:2022-09-13 11:57:59

class Mooncake2:    def __init__(self,x_distante,y_distante,name):        turtle.home()        turtle.setup(1100, 600)        # 月饼最外层边数.........【阅读全文】

阅读(544) | 评论(0) | 转发(0)

发布时间:2022-09-07 12:01:49

'''猿童学出品--2022年9月1日环境如下:python 3.8.0pygame 2.1.0'''import pygameimport randompygame.init()sc = pygame.display.set_mode((600, 695))pygame.display.set_caption("玉兔吃月饼——猿童学祝大家中秋节快乐!")basket = pygame.image.load("pic/basket.png".........【阅读全文】

阅读(349) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册