Inspiration: I like programming and having fun, programming a bot to play was another fun program to code

What it does: It accepts an integer value from user from the set of {1,2,3} each representing {rock, paper, scissor} respectively, then takes the random no from same set of {1,2,3} to play from computer's side, then comparison is done and accordingly result is printed.

How we built it: I have used C++ to script it, it s a combination of loops and else if ladder statements.

Challenges we ran into: only challenge was I initially used strings for comparison of rock, paper and scissor, it was kind of complex for no reasons, so then I used numbers to represent things and found it simpler.

Accomplishments that we're proud of: It was able to code a simple bot for simple game of rock paper scissor with out external help.

What we learned: learned about combination of loops.

What's next for Rock-paper-scissor: It is just a script for game, though the combinations of loops and else it ladder can be used for different things.

Built With

Share this project:

Updates