Skip to content

Commit

Permalink
fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
莘权 马 committed Dec 18, 2023
1 parent 687edd5 commit 46d4f20
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ pygame==2.0.1

输入:WriteTasks输出 + WriteDesign输出+ 已有Code memory

```text
````text
{
"Required Python third-party packages": [
Expand Down Expand Up @@ -482,7 +482,7 @@ pygame==2.0.1
"Implementation approach": "We will use the Pygame library to implement the snake game. Pygame is a popular open-source library for game development in Python. It provides a simple and intuitive API for handling graphics, sound, and user input. Pygame also has good documentation and a large community, making it easy to find resources and support. Additionally, we will follow the PEP8 coding style guidelines to ensure clean and readable code.",
"Python package name": "snake_game",
"File list": ["main.py"],
"Data structures and interface definitions": '''
"Data structures and interface definitions": ```
classDiagram
class Game{
-int score
Expand Down Expand Up @@ -515,8 +515,8 @@ pygame==2.0.1
Game "1" -- "1" Snake: has
Game "1" -- "1" Food: has
''',
"Program call flow": '''
```,
"Program call flow": ```
sequenceDiagram
participant M as Main
participant G as Game
Expand All @@ -536,7 +536,7 @@ pygame==2.0.1
G->>M: end_game()
G->>M: pause_game()
G->>M: resume_game()
''',
```,
"Anything UNCLEAR": "The requirements are clear to me."
}
Expand All @@ -547,7 +547,7 @@ pygame==2.0.1
# b.py
....
-----------
```
````

输出:\*.py

Expand Down

0 comments on commit 46d4f20

Please sign in to comment.