Skip to content

Commit

Permalink
README udated
Browse files Browse the repository at this point in the history
  • Loading branch information
fawern authored Sep 12, 2024
1 parent e426440 commit da84a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ assistant = ChatPython()

prompt = "Create a snake game using Pygame in Python. The snake should move with the arrow keys, grow when it eats food, and the game should end if it collides with the walls or itself. Display the current score during gameplay and the final score when the game ends."

code = assistant.generate_code(prompt, run_code=True)
code = assistant.generate_code(prompt, write_code_to_file=True, run_code=True)

print(code)
```
Expand Down

0 comments on commit da84a4f

Please sign in to comment.