Commit 38aada8c by BellCodeEditor

save project

parent baa35e84
Showing with 3 additions and 3 deletions
......@@ -40,12 +40,12 @@ sl = [I, J, L, O, S, T, Z] # 7种类型俄罗斯方块
s=random.choice(sl)
a=random.randint(0,len(s)-1)
# 一些RGB颜色
cube_colors = [
c = [
(204, 153, 153), (102, 102, 153),(153, 0, 102),
(255, 204, 0), (204, 0, 51),(255, 0, 51), (0, 102, 153),
(153, 0, 51), (204, 255, 102), (255, 153, 0)]
center=[(2,8)] # 第2行第8列
center=[2,8]
color=random.choice(c)
current_shape = s[a]
while True:
......
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