Demos#
Note
This page is a work in progress, and will be updated with more demos soon.
Snake with curses
Generate a snake game that runs in the terminal using curses, and then modify it to add color.
Steps
Create a snake game with curses to snake.py
Running fails, ask gptme to fix a bug
Game runs
Ask gptme to add color
Minor struggles
Finished game with green snake and red apple pie!
Mandelbrot with curses
Generate a program that renders mandelbrot with curses, and then modify it to add color.
Steps
Render mandelbrot with curses to mandelbrot_curses.py
Program runs
Add color
Fibonacci
An old demo showing off basic code execution and shell interaction.
Steps
Create a new dir ‘gptme-test-fib’ and git init
Write a fib function to fib.py, commit
Create a public repo and push to GitHub
Answer question from URL
Showing off basic URL loading from the prompt, and answering questions based on the content.
Steps
Ask who the CEO of Superuser Labs is, passing website URL
gptme browses the website, and answers correctly
Edit history with /edit
TODO