Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
pygame_lesson12_diy4
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6b270fd2
authored
Jul 09, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
4b4ca852
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
1.py
lesson12-diy4.py
1.py
0 → 100644
View file @
6b270fd2
list
=
[
1
,
2
,
3
,
4
]
list2
=
[[
0
,
0
,
0
,
0
],
[
0
,
0
,
0
,
0
],
[
0
,
0
,
0
,
0
],
[
1
,
1
,
1
,
1
]]
info
=
zip
(
list
,
list2
)
print
(
info
)
\ No newline at end of file
lesson12-diy4.py
View file @
6b270fd2
...
...
@@ -8,7 +8,7 @@ grid_size = 20 # 格子大小
grid_num_width
=
15
# 横向格子数量
grid_num_height
=
25
# 纵向格子数量
FPS
=
30
# 帧率
count
=
0
count
=
0
#控制下落速度
states
=
False
gameover
=
False
# gameover:True,游戏结束;False,游戏正常运行
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment