anyone have a source code for a game program of rock,paper & scissors..
pls give me some..just a simple one, would use it in c++ programming..
it would be for our finals...
Many would consider it unethical to do another person's final for them, in its entirety.
Instead, why don't you show us what you've got, and we can give you pointers?
There are three possible outcomes to the game (win, loose, or draw).
Your first test should see if it is a draw. Your second check, if needed, should be to see if you have won. As there are only three options (Rock, paper, and scissors) and each one of those has a single winning condition, so only three checks are needed to find a winning condition. Finally, if you have not drawn and if you have not won, then you have lost.
AS it is for your finals, I don’t want to give any code, but hope you can work out some structure from the above.