Commit c4ec5b47 by BellCodeEditor

save project

parent 458a5961
Showing with 7 additions and 6 deletions
import pygame import random
apple_x=360
# 初始化pygame,为使用pygame做准备 apple_y=300
pygame.init() if x ==apple_x and y==apple_y:
apple_x=random.randint(0,660)
# 创建一个窗口 apple_y=random.randint(0,480)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment