Working with AI · IS218Build a game you can trust.
A self-paced lab in working with AI. Agree on the rules of Rock, Paper, Scissors, let AI test its work, then play and review it yourself.
A self-paced lab in working with AI. Agree on the rules of Rock, Paper, Scissors, let AI test its work, then play and review it yourself.
You get a Python app with a browser interface. The game rules are unfinished. Work with AI to make one round playable: choose a move, see the computer's choice, and find out who won.
What you get · supplied interface
The page works. RPS-001 will make it decide a winner.
Your goal · finish the rules
You: RockComputer: Scissors
You win!Rock beats scissors. Choose again for another round.
Learn through the conversation. The agent gives one small step, then waits for you. Predict a round, explain one test together, and describe something you saw while playing. Short answers are fine; ask for a hint or example when you're unsure.
The checks are prepared: pytest checks behavior, Pylint analyzes Python, and Black checks formatting. Valid and invalid cases describe what you try; unit, integration, and real-browser checks describe how much of the system you exercise. See the examples and limits.
Start: your GitHub copy → SSH clone → local AI project. Follow the starter README, then open the cloned folder in ChatGPT desktop's Codex mode. Your first conversation explains the project and guides setup one checkpoint at a time, until you can run the unfinished game. Another coding agent can work with the same files and terminal.
Stay in that project to agree on one feature, save the spec, build, test, and review. Keep the change with terminal Git. Use a browser to play; VS Code is optional.
Done looks like: a playable round, checks for all nine matchups, your own browser review, and a merged PR linked to the issue and SPEC.md. No API key or deployment is needed.
Then make it yours: choose one follow-up feature with less guidance—first-to-two scoring, an explanation of why a move won, or your own visual style. Use the same process again.