September 4
Wordle and Vibe Coding
You will need your laptop for today’s class.
We are going to be setting up everything that you need for the final project today. We will be relying on the following tools to do the final project:
Required
- GitHub: This is an online way to store version controlled code and share with others. You should ALWAYS version control your code. This will help you more later in life and in every other class and job you have going forward. We will talk about what is version control for software development in class today. If you do not already have an account, please create one. FYI, the name you choose for your GitHub account will likely stick with you for a lonnnnggg time - it’s like choosing an IG handle and people may identify you by it. I would recommend choosing a professional sounding one.
- Google Colab: Your standard google account should automatically work with this. You might need to agree to some terms and conditions. This tool lets you run code (frequently python) interactively in your web browswer. You can see how things work and edit them in real time.
- OpenHands: This will likely be the most experimental thing we do in this course. It is a startup which uses AI to help you code. It can connect to your GitHub account and modify code stored there. Please create an account on this and give it the ability to access your GitHub.
Suggested
- ChatGPT: With some clever prompting, you can actually get it to generate pretty decent code.
- TBD… Let’s see what we end up needing
WORDLE
If you would like to work through this example and make some changes yourself, please FORK this repo. Forking makes a copy in your GitHub account as opposed to working in mine. For later things (think our final project), we might use PULL REQUESTS, which are ways to integrate your code back into my repo when you are done making changes locally.
Once you have forked the repo, in your web browser, navigate to the “wordle.ipynb” file. Add “tocolab” directly after the word “github” in the URL and it will automatically open the notebook in Google Colab.
Wheel of Fortune
For the final project, we will be working off of the Can I Buy an AI repository. Please FORK this one as well.
If you are not familiar with Wheel of Fortune, it’s a TV Game Show that has been on the air for decades. For our canonical example in this class, we will use Pat Sajak’s last episode who hosted the show for more than 4 decades.