Are there any rules to increase your chance of winning in RPS?
I mean like this:
There is a game where you and your opponent take turns in drawing matches(or rocks or cards or something like that, in this story I'll just use matches). There is a finite and known number of matches and every time when it is your turn you may draw 1, 2, or 3 matches. The one who draws the last match wins.
A long time ago I made a program which plays this game. And making the AI was pretty simple, and the AI was not random at all. Because there is a rule which, if you follow it, makes you win. That rule is this: After your pick, the number of matches must be dividable by 4. If you do that every time, then your opponent will 100% sure lose. Many people don't know this and always lose against my program(Well maybe not always but they had a very small chance of winning if they did not know about this trick). =p
Anyway, my question is: when someone makes a RPS playing program, would the program be better if he followed certain rules, like my program did? Or would the program be best if he tossed randomly every time? What do you think?
(BTW Apologies for my bad english. English is not my native langue. I hope my bad english doesn't piss you off too much

)