Inspiration
The inspiration for this project came from my curiosity about the capabilities of OpenAI's GPT-3 model. I wanted to see if I could use the AI model to build a fully functional, console-based game of Rock, Paper, Scissors. The result was a game that not only works but also includes both single player and double player modes. This project serves as a testament to the power of AI in software development, as 98% of the code was generated using GPT-3.
What it does
This Python script allows you to play Rock, Paper, Scissors in your console. You can choose to play against the computer or against another player.
How I built it
I built this game using Python and the power of OpenAI's GPT-3 model. The AI model generated 98% of the code. I used the random module for the computer's choice in single player mode. The game logic is based on the standard rules of Rock, Paper, Scissors.
Challenges I ran into
One of the challenges I faced was getting GPT-3 to generate my desired results. I had to ensure that my prompts were specific and succinct enough to result in the desired output.
Accomplishments that I am proud of
I'm proud of creating a fully functional game of Rock, Paper, Scissors that can be played in the console, using mostly GPT-3.
What I learned
I learned a bit more about the capabilities of AI in software development.
What's next for Rock, Paper, Scissors
Next, I plan to implement a graphical user interface (GUI) for the game. I also want to add more features, such as a score tracker and different difficulty levels for the computer opponent. I'm excited to see how much of this I can achieve using AI.
Built With
- chatgpt
- github
- python
- random
- visual-studio
Log in or sign up for Devpost to join the conversation.