Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / pygame_lesson8_diy3

  • This project
    • Loading...
  • Sign in
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 e91ebe96 authored 4 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

auto save

parent 47390c05
Show whitespace changes
Inline Side-by-side
Showing with 1 additions and 2 deletions
  • my_game.py
my_game.py
View file @ e91ebe96
...@@ -83,8 +83,7 @@ while True: ...@@ -83,8 +83,7 @@ while True:
num=random.randint(0,50) num=random.randint(0,50)
if num>20: if num>20:
print(11) print(11)
obstacle=Block(bush,cacti,stone) obstacle=Block(bush,cacti,stone
print(22)
block_list.add(obstacle) block_list.add(obstacle)
for sprite in block_list: for sprite in block_list:
sprite.rect.x-=8 sprite.rect.x-=8
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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