发布时间:2022-11-30 17:40:44
from graphics import *from time import sleepclass goChess: def __init__(self, x, y, color=1): self.color = "black" if color==0 else "white" self.x,self.y = x,y self.circle .........【阅读全文】
发布时间:2022-11-29 17:22:18
python学习交流Q群:770699889 ###from PIL import Image,ImageDraw,ImageFont#像素放大尺寸img_king_size = 20#输入内容text = '这是xx的女神'#设置字体font =ImageFont.truetype('simsun.ttc',img_king_size)#图片路径img_path = './king.jpg'#打开图片img = Image.........【阅读全文】
发布时间:2022-11-25 16:00:21
//导入包import * as THREE from 'three';import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls';import * as dat from 'dat.gui';import Stats from 'three/addons/libs/stats.module.js';let scene,camera,renderer//场景scene = new THREE.Scene();//坐标抽.........【阅读全文】
发布时间: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 == .........【阅读全文】
发布时间: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.........【阅读全文】