The goal of this project was simple, to create a version of the classic game Rock, Paper, Scissors! However, since at this point of my development as a software engineer I was still being instructed utilizing the Turtle Graphics modules in Python, that is what I decided to use to recreate this game. This turned out to be a fun challenge as it pushed the simple basics of logic that I currently knew. It let me be creative in ways that the simple school projects I was doing simply did not.
The game design is simple. Once the application loads, there are 3 pictures on the screen.
The user simply clicks on the picture that they wish to play (rock, paper, or scissors). After selecting an image, the program runs logic that lets the computer make its choice and then determines the winner.
It then prints a result message, whether the user won, the computer won, or, in this case, was a tie. The logic also employed a simple score counter for both the user and the computer, which is updated and displayed at the bottom after every round.
This project was fun because it was difficult. Being unable to use anything except for the Python Turtles made for an interesting logic puzzle. I had to design a fully normal looking GUI that was secretly being drawn by the little turtles. That GUI design was a major challenge in an of itself. Between getting the images to the right spots, printing the results tests, and tracking the scores, I had my work cut out for me with only the Turtle Graphics at my disposal.
One issue I had was refreshing the game after each round. It was difficult to reset the screens because I had built everything on it with individual Turtles.