Generate an image based off of user input?

I’m creating a rock, paper, scissors game using this project as my base. i’m trying to generate an image based off of user input (for example if the user types in ‘rock’ as their choice, i’d like it to generate a hand in a fist representing rock, but i’m completely lost on how to do this. can anyone help?

hi welcome to the forms. I
do not know what language you are using go to
Create a topic that everyone will read to learn how to make good topics.