From cc2e3e239006f438059687f287285bb18f47d273 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 8 Jan 2022 19:29:00 +0800
Subject: [PATCH] save project

---
 my_Tetris.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/my_Tetris.py b/my_Tetris.py
index 8711234..0ca8563 100644
--- a/my_Tetris.py
+++ b/my_Tetris.py
@@ -45,7 +45,10 @@ cube_colors = [
     (153, 0, 51), (204, 255, 102), (255, 153, 0)]
 
 center = [2, 8]     # 第2行第8列
-current_shape = [(0, -1), (0, 0), (0, 1), (-1, 0)]
+shape=random.choice(shape_list)
+index=random..randit(0,len(shape)-1)
+current_shape=shape[index]
+color=random.choice(cube_colors)
 
 while True:
     for event in pygame.event.get():
--
libgit2 0.25.0