Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-1-1_DIY1
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
d386c7c8
authored
May 03, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
c8065575
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
1.py
diy1.py
1.py
View file @
d386c7c8
...
...
@@ -17,4 +17,10 @@ elif event.key == locals.K_UP:
current_shape
=
shape
[
index
]
if
check
(
center
)
==
False
:
index
=
old_index
current_shape
=
shape
[
index
]
\ No newline at end of file
current_shape
=
shape
[
index
]
if
staes
==
False
:
states
=
True
center
=
[
2
,
8
]
shape
=
random
.
choice
(
shape_list
)
count
+=
1
states
=
False
\ No newline at end of file
diy1.py
View file @
d386c7c8
...
...
@@ -6,4 +6,8 @@ def chenk(center)
pass
if
indxt
>=
len
(
shape
):
current_shape
=
shape
in
\ No newline at end of file
current_shape
=
shape
in
num_list
=
[]
for
i
in
range
(
25
):
num_list
.
append
([
0
*
25
])
\ No newline at end of file
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