mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 11:14:59 +00:00
copy
This commit is contained in:
parent
d6738637b5
commit
ba02df8f47
2 changed files with 15 additions and 8 deletions
|
@ -1,10 +1,13 @@
|
|||
|
||||
# Modify an open source 2048 game with aider and gpt-4
|
||||
|
||||
> In this chat transcript, the user explores and modifies the open source javascript 2048 game codebase from https://github.com/gabrielecirulli/2048
|
||||
>
|
||||
> Notice that GPT-4 asks to see a particular source file, and aider automatically includes it in the chat session after getting permission from the user.
|
||||
In this chat transcript, the user explores and modifies the open source javascript 2048 game codebase from https://github.com/gabrielecirulli/2048
|
||||
|
||||
Notice that GPT-4 asks to see a particular source file, and aider automatically includes it in the chat session after getting permission from the user.
|
||||
|
||||
## Chat transcript
|
||||
|
||||
> 2048$ aider app.py
|
||||
---
|
||||
#### > what is this repo?
|
||||
|
||||
|
@ -18,8 +21,8 @@ If you need help with any specific part of the code or want to add new features,
|
|||
|
||||
To help you with the scoring mechanism, I need to see the relevant code. Please provide the contents of the `js/game_manager.js` file, as it is likely to contain the scoring logic.
|
||||
|
||||
_js/game_manager.js_
|
||||
_Add these files to the chat? y_
|
||||
> js/game_manager.js
|
||||
> Add these files to the chat? y
|
||||
|
||||
Apologies for the oversight. I see the contents of the `js/game_manager.js` file now.
|
||||
|
||||
|
@ -77,6 +80,6 @@ js/game_manager.js
|
|||
|
||||
This change will give the user a 10x bonus 10% of the time when two tiles merge.
|
||||
|
||||
_Applied edit to js/game_manager.js_
|
||||
_Commit eb9d882 aider: Added a 10% chance of giving the user a 10x bonus when two tiles merge._
|
||||
> Applied edit to js/game_manager.js
|
||||
> Commit eb9d882 aider: Added a 10% chance of giving the user a 10x bonus when two tiles merge.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue