- 博客(3)
- 收藏
- 关注
原创 2021-01-11
FrameworkServlet.initServletBean Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of resource dependencies failed; nested exception is org.springframework.b...
2021-01-11 11:38:42
112
原创 pygame总结
1.设置变量,很重要,提高可读性 2.编写代码可读性很重要 因为当给自己的程序修改Bug,或添加新的功能的时候会很容易 3.在一些大型程序,要平衡内存和时间 4.颜色:RGB #注明:(0,23,45,128)半透明 第四个参数表示透明度, 湖绿色: ( , , ) 海军蓝:( 0,0 ,128 ) 灰色:( 128,128 128, ) 银色:( 192,1...
2019-02-12 10:08:21
548
原创 贪吃蛇游戏
简单无线版的贪吃蛇小游戏,刚做初版,后续继续更新~ import random import pygame import sys from pygame.locals import * WINDOW_WIDTH = 640 WINDOW_HEIGHT = 500 BlockSize = 20 assert (WINDOW_WIDTH % BlockSize == 0) and (WINDOW...
2019-02-12 10:07:35
226
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人