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

全部博文(365)

文章存档

2023年(8)

2022年(130)

2021年(155)

2020年(50)

2019年(22)

我的朋友

发布时间:2022-11-23 17:04:22

public void judge() {for(t = newchessX,s = newchessY,count = 0; t >=0 && s >= 0 && count <= 4; t--,s--,count++) {comeX = t;comeY = s;}for(t = newchessX, s = newchessY, count = 0; t <=14 && s >= 0 && count <= 4; t++, s--, count++) {toX = t;toY = s;}if(winFLAG == .........【阅读全文】

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

发布时间:2022-11-22 18:08:42

package com.cy.xgsm.controller;import java.math.BigDecimal;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.beans.factory.annotation.Qualifier;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.a.........【阅读全文】

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

发布时间:2022-11-21 17:33:15

import randomimport pygame'''植物'''class Plant(pygame.sprite.Sprite):def __init__(self, WIDTH=640, HEIGHT=500):pygame.sprite.Sprite.__init__(self)self.WIDTH = WIDTHself.HEIGHT = HEIGHT# 统计分数时用的self.added_score = Falseself.speed = 5# self.imgs = [.........【阅读全文】

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

发布时间:2022-11-18 16:30:48

import randomfrom math import sin, cos, pi, logfrom tkinter import *CANVAS_WIDTH = 640  # 画布的宽CANVAS_HEIGHT = 480  # 画布的高CANVAS_CENTER_X = CANVAS_WIDTH / 2  # 画布中心的X轴坐标CANVAS_CENTER_Y = CANVAS_HEIGHT / 2  # 画布中心的Y轴坐标IMAGE_ENLA.........【阅读全文】

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

发布时间:2022-11-16 17:15:40

from turtle import *from time import sleepdef go_to(x, y):   up()   goto(x, y)   down()def big_Circle(size):  #函数用于绘制心的大圆   speed(9)   for i in range(150):   .........【阅读全文】

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

登录 注册