From 41a5f09cb90b7f85402301d12badd6f245ba9f8f Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 13 May 2023 07:01:22 -0700 Subject: [PATCH] copy --- examples/2048-game.md | 5 +++-- examples/README.md | 4 ++-- examples/hello-world-flask.md | 4 +++- examples/pong.md | 2 +- examples/semantic-search-replace.md | 6 ++---- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/examples/2048-game.md b/examples/2048-game.md index 65726c960..dd3d81634 100644 --- a/examples/2048-game.md +++ b/examples/2048-game.md @@ -1,6 +1,7 @@ -# Aider modifying the 2048 game -> Here, we explore and modify the open source 2048 game codebase from https://github.com/gabrielecirulli/2048 +# Modify an open source 2048 game with aider and gpt-4 + +> The user explores and modifies the open source 2048 game codebase from https://github.com/gabrielecirulli/2048 --- #### > what is this repo? diff --git a/examples/README.md b/examples/README.md index 20d725074..6ca210bec 100644 --- a/examples/README.md +++ b/examples/README.md @@ -4,8 +4,8 @@ Here are some example transcripts that show how you can chat with Aider to gener 1. [**Hello World Flask App**](hello-world-flask.md): This example demonstrates how to create a simple Flask app with various endpoints, such as adding two numbers and calculating the Fibonacci sequence. -2. [**Semantic Search & Replace**](semantic-search-replace.md): This example showcases Aider's ability to perform semantic search and replace operations in code, dealing with various formatting and semantic differences in the function calls that it updates. +2. [**2048 Game Modification**](2048-game.md): This example demonstrates how to explore and modify an open-source 2048 game codebase, including adding randomness to the scoring system. -3. [**2048 Game Modification**](2048-game.md): This example demonstrates how to explore and modify an open-source 2048 game codebase, including adding randomness to the scoring system. +3. [**Semantic Search & Replace**](semantic-search-replace.md): This example showcases Aider's ability to perform semantic search and replace operations in code, dealing with various formatting and semantic differences in the function calls that it updates. 4. [**Pong Game with Pygame**](pong.md): This example demonstrates how to create a simple Pong game using the Pygame library, with customizations for paddle size and color, and ball speed adjustments. diff --git a/examples/hello-world-flask.md b/examples/hello-world-flask.md index e1d25f84e..1c37cbfa2 100644 --- a/examples/hello-world-flask.md +++ b/examples/hello-world-flask.md @@ -1,5 +1,7 @@ -# Aider creating a simple flask app +# Create a simple flask app with aider and gpt-4 + +> The user asks aider to make a simple flask app with various endpoints. #### > make a flask app with a /hello endpoint that returns hello world diff --git a/examples/pong.md b/examples/pong.md index 1ae1679ba..6a4108b4b 100644 --- a/examples/pong.md +++ b/examples/pong.md @@ -1,5 +1,5 @@ -# Aider building pong with pygame +# Build pong with aider, gpt-4 and pygame. > After setting up a basic pong game, the user asks for some customization of the > colors and game mechanics. diff --git a/examples/semantic-search-replace.md b/examples/semantic-search-replace.md index 5d1c10353..c653264bb 100644 --- a/examples/semantic-search-replace.md +++ b/examples/semantic-search-replace.md @@ -1,11 +1,9 @@ -# Aider performing semantic search & replace +# Semantic search & replace on code with aider and gpt-4 -> Aider did a nice job of "semantic search and replace" here. +> The user asks aider to do "semantic search and replace" to modify a series of function cals. > Notice that it isn't replacing exact strings. > It's dealing with various formatting and semantic differences in the calls that it is updating. -*Loading aider/coder.py* - --- #### coder.py> replace all the self.console.print() calls that contain [red] with calls to self.io.tool_error() with [red] removed from the string