#哈工大mooc# python3 tkinter 贪吃蛇代码补充
from tkinter import *
import random
class SnakeGame:
def __init__(self):
# moving step for snake and food
self.step=15
# game score
self.gamescore=-10
# to initialize the snake in the range of (x1.
原创
2021-08-22 11:20:52 ·
291 阅读 ·
0 评论