Rock Paper Scissors
Python Code


Check out the corresponding github repo here

This is a code I wrote with the assistance of my mentor that allows one to play a simple text version of Rock, Paper, Scissors in your terminal. The workflow essentially was: I would work on the code and bring him my updates and he would help me troubleshoot, brainstorm, improve, and refine the script. This was among the first Python projects I worked on and it was a lot of fun figuring out the logic tree.

This code utilizes some common, if basic, fundamental mechanics when working with Python, including: Appending a number (which I later found useful when writing my Lambda function that interacts with DynamoDB), Random Choice (having the computer select from a predetermined set of answers and nominating it as the selection), and a Break if the user declines the "repeat_prompt", among others.