smit-prajapati-24/rock-paper-scissor- ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Rock, Paper, Scissors game in C that runs in the console.

I want the player to choose rock, paper, or scissors, then play against the computer’s random choice and see who wins each round. Please make it easy for a beginner to read, with clear input, output, and basic logic using conditions and loops. It should keep score and show the result after each round, so the user can tell if they won, lost, or tied.

Keep it small and straightforward, since this is just a learning project. If needed, look up the current C compiler setup online and make sure the code runs cleanly from a single main file. Add simple instructions for how to compile and run it on a normal computer.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab