+ 2
Rock paper game with c++
Does anyone know how to make a Rock Paper Scissors game using C++ and can someone give an example of a code ?
5 Réponses
+ 1
seems pretty easy to do. you need rand() if youre playing against computer, 3 variables that will hold the 3 choices, the logical outcome(rock vs scissor = rock wins), and the implementation is up to your creativity.
+ 6
click on { } then search for rock paper, also you have option to search only c++ codes. you'll find many rock paper scissors codes
+ 3
If you know rand() you can easily make it
+ 1
Rock paper game
----------code------------
https://code.sololearn.com/cfnq633Xsrli/?ref=app
- 1
Can someone give an example please of the code