06 2022 档案
智能家居实验代码
摘要:遥控器控制风扇和蜂鸣器 #include <IRremote.hpp> /* * IRremote: IRrecvDemo -demonstrates receiving IR codes with IRrecv * An IR detector/demodulator must be connec
ccc
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
答辩项目
摘要:人物动画 1:完成整体项目布局 2:完成云动画左右走动 3:风车需要走动 4:完成气球飞向天空动画 房屋流星 1:完成烟冲效果 2:鼠标以上点亮所有灯 3:月亮升起来 4:流星划过效果 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UT
cow css
摘要:.cow { width: 300px; height: 400px; position: relative; top: -300px; left: 40%; z-index: 10; } .head { width: 200px; height: 100px; position: relative
qt pyside6 Mychat client
摘要:import sys from PySide6 import QtCore, QtWidgets, QtGui from PySide6.QtGui import QIcon from PySide6.QtWidgets import QPlainTextEdit import Mychat_ui
matplotlib作业
摘要:折线图的1. # -*- coding: utf-8 -*- import pandas as pd #用于生成满足绘图要求的数据格式 import numpy as np #用于展示横坐标 from matplotlib import pyplot as plt #用于绘制折线图 populati
python AI 贪吃蛇 自动吃果子
摘要:# coding :utf-8 # Create by wwx on 2018-12-6 ''' pygame创建显示层 小写的变量代表坐标,大写的变量代表数值 整条蛇就是一个一维的数组,整个图也是一个一维数组。 * 处既为坐标(1,1)对应一维数组蛇的 1 * WIDTH + 1 @ 处为食物的初
python 俄罗斯方块
摘要:main.py import sys import time import pygame from pygame.locals import * import blocks SIZE = 30 # 每个小方格大小 BLOCK_HEIGHT = 25 # 游戏区高度 BLOCK_WIDTH = 10
贪吃蛇python
摘要:"""贪吃蛇""" import random import sys import time import pygame from pygame.locals import * from collections import deque SCREEN_WIDTH = 600 # 屏幕宽度 SCREE