Robot Hand Beats You At Rock, Paper, Scissors 100% of the Time 225
wasimkadak writes "This robot hand will play a game of rock, paper, scissors with you. Sounds like fun, right? Not so much, because this particular robot wins every. Single. Time. It only takes a single millisecond for the robot to recognize what shape your hand is in, and just a few more for it to make the shape that beats you, but it all happens so fast that it's more or less impossible to tell that the robot is waiting until you commit yourself before it makes its move, allowing it to win 100% of the time."
Welcome! (Score:5, Funny)
I for one welcome our new robotic overlords.
But to truly test it you have to add lizard and spock
Re:Welcome! (Score:4, Funny)
Can it win 25-way Rock, Paper, Scissors, Gun, Dynamite, Nuke, Lightning, Devil, Dragon, Alien, Water, Bowl, Air, Moon, Sponge, Wolf, Cockroach, Tree, Man, Woman, Monkey, Snake, Axe, Fire, Sun?
http://www.umop.com/images/rps25_outcomes.jpg [umop.com]
Re: (Score:3, Funny)
Re: (Score:2)
Re: (Score:2)
Uhhh, Woman is in that list?
I thought they win all the time, even when they lose?
Re: (Score:2)
Man beats Woman. Woman beats Devil.
Cheater. (Score:5, Insightful)
So it cheats.
Re:Cheater. (Score:5, Funny)
So it cheats.
It's just employing High Frequency Rochambeau strategies
Re:Cheater. (Score:5, Insightful)
I think it's probably inspired by recent research that showed unambiguously that people who are good at janken/rock-paper-scissors achieve their success by throwing as late as possible, observing the opponent's hand to see what gesture is going to be made.
Talk about reading people's faces / moods / history is mostly bullshit. Although computer software tends to abuse our human non-randomness in this way, it is in practice intractable for most humans. And the best janken players rely solely on the same strategy this robot's using.
But then, if you didn't want to be cheated, you shouldn't play a game where cheating is pretty much the only way to consistently win.
Re: (Score:3)
So I cheat back, try beating me with your power turned off ... Oh it lost again ...
This large electomagnet not it's not significant, what I've won again ...
The computer virus, not important, I win again ....?
You try playing under those conditions (Score:3)
try beating me with your power turned off
You try playing after having not eaten for days.
This large electomagnet not it's not significant
You try playing while someone's standing on your arm.
The computer virus, not important, I win again ....?
You try playing with the flu.
Re: (Score:3)
If it were the human vs. the robot, and the human was hungry, and the robot was in the way of food, I guarantee you human wins every time, no matter what it takes.
The cold calculations of silicon have nothing vs. the survival instincts of 3.5 billion years of evolutionary struggle.
Re: (Score:2)
You try playing with the flu.
Barring some sort of nuclear hyper-flu, I think I could manage to play RPS with the flu.
Re: (Score:2)
Re:Cheater. (Score:5, Funny)
No. It always plays rock. And if you pick paper, it punches a hole in your hand.
It also helps... (Score:2)
... that the human never picks scissors more than once.
*** OW! ***
Re: (Score:2)
Captain Kirk is the only one to have beaten the machine. He did it by masturbating furiously instead of throwing paper.
Re: (Score:3)
No more so than the person who's able to perceive the other person forming "scissors" (or just going with rock) before their hand is already down and do a quick morph from "rock" to "paper" (or similar).
Please tell me I'm not the only one who has good luck winning rock/paper/scissors with last-minute "I don't know what I'm going to pick" choices.
What's impressive about this hand, to me, isn't so much the sensory data collection as it is the rapid processing of said motion data in conjunction with being able
Re:Cheater. (Score:4, Insightful)
So it cheats.
That's the only way to win a game of chance 100% of the time...
If it really is a game of chance then there is a possibility that someone will win it 100% of the time.
Re: (Score:2)
Not an arbitrary number of times there isn't.
Re: (Score:2, Interesting)
That all depends on how many rounds you do.
1 round guarantees someone'll win 100% of the time 100% of the time.
Re:Cheater. (Score:5, Funny)
33% of the time, it works every time!
=Smidge=
Re: (Score:2)
That all depends on how many rounds you do.
1 round guarantees someone'll win 100% of the time 100% of the time.
Not really no, there could be a draw then no-one wins. That means that in one round there is a 50% percent chance that someone will win 100% of the games.
Re: (Score:2)
Re: (Score:2, Insightful)
One round of RPS is one set of throws to a winning result. In other words, for a single round, you will have a single winner. Since the win can't be split (a tie thrown out and the competitors re-throw), After that one round, 1 of the people will have won 100% of the rounds. Exactly as the person you responded to stated.
Re: (Score:2)
Re: (Score:2, Interesting)
Re:Cheater. (Score:5, Funny)
(The answer is of course: 4. A smartphone with a head-or-tails app.)
Re: (Score:2)
Use odds/evens then.
One player is chosen as the "caller", both players on the count of 3 put out either one or two fingers, while the "caller" calls either "odd" or "even". If he calls "odd", and the two players' displayed fingers do not match, then he wins, otherwise he loses. If he calls even, then both players' displayed fingers need to match in order for him to win.
It is as good or better than a coin-toss.
Re: (Score:3)
Re: (Score:2)
Interesting; I don't play rock, paper & scissors because it's extremely boring. I thought that was the reason for everyone else too but I guess I was wrong.
Re: (Score:2)
It's also the game Joshua played that caused it to infer that the only winning strategy in geopolitical diplomacy is not to play.
Re: (Score:2)
Re: (Score:3)
I don't play it competitively or anything - do people actually do that?
Yes. [usarps.com]
Re:Cheater. (Score:4, Informative)
Furthermore there are even 'advanced' tactics. http://www.worldrps.com/advanced-rps [worldrps.com]
yes but... (Score:5, Funny)
Can it beat Sheldon at rock, paper, lizard, spock, scissors? ;)
Re: (Score:2)
inferior (Score:2)
already been tested 10^36 so it won't observe me. I've got too many hand movements to beat this.
Re: (Score:3, Funny)
rapidly moving your hand up and down about an inch doesn't count
Re:inferior (Score:5, Funny)
I've got too many hand movements to beat this.
rapidly moving your hand up and down about an inch doesn't count
That's what he meant by "beat this".
Shed some light (Score:5, Informative)
Here [u-tokyo.ac.jp] is the original article, excerpt: "Recognition of human hand can be performed at 1ms with a high-speed vision, and the position and the shape of the human hand are recognized. The wrist joint angle of the robot hand is controlled based on the position of the human hand."
Here [u-tokyo.ac.jp] is a link to a video showing what it can do.
And now, the obligatory comment: I, for one, welcome our robotic rock-paper-scissors-playing overlords.
a bit misleading (Score:5, Informative)
Being faster? That's just cheating. On reading the headline, I thought they had developed an algorithm that predicted your next move, which would have been much more impressive. You DO get a ~40% improved chance of winning with this strategy:
When your opponent loses, his next move will be to beat whatever your move was on that round.
move 1) opp: rock you: paper # opponent loses to paper, so his next move will be to win over paper
move 2) opp: scissors you: rock # opponent loses to rock, so his next move will be to win over rock
move 3) opp: paper you: scissors # opponent loses to scissors, so his next move will be to win over scissors
etc.
It's self-reinforcing because after losing several throws in a row, opp becomes frustrated and less analytical, making it harder for them to see the pattern they are developing. :)
But that isn't absolute prediction, that's just playing on your opponent's human instinct. The robot hand isn't predicting anything.
Re:a bit misleading (Score:5, Insightful)
When your opponent loses, his next move will be to beat whatever your move was on that round.
I'm sorry to say that, but you must have been playing really dumb people.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3)
- THE WORLD RPS SOCIETY - OFFICIAL ABRIDGED RULES OF PLAY [worldrps.com]
Clearly, the robot is deliberately waiting for the other side to deliver their signal before delivering its own. So, the headline, summary, and article are all false. But it's still impressive, because it actually loses every time.
Re: (Score:3)
I always choose stone. Stone wins everything.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Being faster? That's just cheating. On reading the headline, I thought they had developed an algorithm that predicted your next move, which would have been much more impressive. You DO get a ~40% improved chance of winning with this strategy:
When your opponent loses, his next move will be to beat whatever your move was on that round.
This obviously relies on playing multiple rounds in a row against the same person. I never play RPS, but isn't the point to play it once to make a one off decision about something? If so, your strategy is useless.
Re: (Score:2)
Re: (Score:2)
I thought they had developed an algorithm that predicted your next move.
A (competition-winning) algorithm I read about keeps track of 6 strategies:
Each turn, the strategies would be evaluated against the history of mov
uh oh (Score:2)
What would happen... (Score:5, Interesting)
Re: (Score:3)
I imagine it would become like high frequency stock trading, with the faster system winning by being able to stick to neutral to the last microsecond (or whatever) and then deciding based on the other robot's hand. With 2 identical systems, in a perfect setup, they would both see the other side as rock, switch to paper, and tie, I guess. Of course, start and other timing is probably off by enough that one side will have an edge.
To me, a wall between the two and a judge would make it more interesting, just
Re: (Score:3)
No. Waiting = Rock. Automatically. They would both wait, play rock by default, and then both respond to play paper. It would probably be a draw all the time, but the games would proceed as quickly as in the movie.
Re: (Score:3)
Nothing will happen as they both wait for the other to make the first move. Because that's how they cheat: wait for the human hand to make a move, and react to that.
Re: (Score:2)
Nothing will happen as they both wait for the other to make the first move. Because that's how they cheat: wait for the human hand to make a move, and react to that.
Unless there were some vibration. With vibration, one would attempt to match the predicted outcome with the necessary winning hand, which would cause the other to adjust to the next winning hand, which would cause the other to adjust to the now-winning hand.
Motionless, it is a stable waiting game; but, the mechanics of the cheating mecanisim should become unstable with sufficent noise in a feedback loop.
In which case, the machine with the higher reliability would win, after the other blew a capacitor or me
Re:What would happen... (Score:5, Funny)
They would cease their countdown for initiating thermonuclear war.
Re: (Score:2)
I don't know exactly what would happen, but they might smoke a cigarette afterwards.
Re: (Score:3)
... If you pitted 2 of these machines against eachother?
They'd move around in a jerky manner for a few seconds, then simultaneously say "Norman Correlate", then become immobile.
Re: (Score:2)
... If you pitted 2 of these machines against eachother?
Skynet will remember this moment. That explains a lot of things.
Re: (Score:2)
That was my first thought too. I assume it relies on the fact that a human hand making the shape of rock, paper, or scissors is predictable well before the shape is completely formed. If the robotic hand could form the shape much faster (which it would have to do to make it appear that it had started at the same time as the human hand) then it might be harder for the robotic opponent to appear to be forming the shape at the same time, and an obvious delay (even if you needed a high speed camera to see it) w
Re: (Score:2)
Re: (Score:2)
Robot hand tears Grendel's arm off?
Alzheimer (Score:2)
Wonder what it would do against a trembling Alzheimer patient.
Re: (Score:2, Funny)
A strange game... (Score:2)
Reminds me of an old RPS contest... (Score:3, Interesting)
I once participated in a Rock-Paper-Scissors tournament put on by Epson (see, for example, http://www.campuslogix.com/rps_challenge/rps_challenge.html [campuslogix.com]). They basically said "write a bot that will play RPS". Of course, the game-theoretic optimal strategy in such a contest is to just play randomly. You can beat the (Epson-supplied) rockbots and rotatebots easily, so with a bit of work you can do slightly above average.
Seeking a greater advantage, though, I coded my bot to also include a set of predictors for the random number generators for several popular libcs (as I did not which OS or distro the tournament machine would use). During a round, I would guess the random seed (current system time +/- a few seconds), the sequence offset, RNG processing strategy, and the algorithm used, and simply run a parallel copy of the libc RNG used by my opponent.
I was therefore able to beat most RNG-using opponents 9998/10000 times easily, a finding which rather surprised the judges :) I didn't win top prize (algorithm wasn't fast enough, and it turns out that was weighted more heavily than I expected), but I did get a high ranking and a cash prize.
Goes to show: sometimes a bit of "cheating" works well.
Re: (Score:2)
What % of your opponents were RNG-using?
Re: (Score:3)
Maybe about 10% or so. The contest was five years ago, so some of the details are a bit fuzzy. I don't believe we ever got the source code for other competitors, either, so I wouldn't know if they were using an RNG strategy or just a simple predictable one.
Re:Reminds me of an old RPS contest... (Score:4, Interesting)
I don't believe you. I think you're describing what you would have *liked* to have done, but you didn't actually do this.
1) A random response is not "the game-theoretic optimal strategy" to a random opponent. It may be *an* optimal strategy by some limited definition, but no computer scientist would speak so loosely. And random number generation is certainly not the *fastest* strategy. You just wanted to use the term "game-theoretic optimal strategy".
2) If the bot is playing truly randomly then you cannot "beat" it easily, let alone do slightly above average "with a bit of work". Otherwise you're just exploiting its non-randomness.
3) You had access to the source code for "several popular" C libraries? (Most even wrote their code in C?)
4) You would guess the random seed (by assuming a reasonably accurate system time), sequence offset, processing strategy AND algorithm used? Really? Give us some details. The input domain here is multidimensionally huge. Even assuming most people use insecure PRNG, you could still automagically identify "most" of those opponents' algorithms?
Unless your competitors mostly did srand(time(0)) and then equally partitioned the rand() output domain into contiguous R, P and S intervals - which would mean that no-one took the competition seriously - your task would take an age.
Re: (Score:3)
0) I have source code for my bot, the tourney announcement, and the tourney results. If you are really curious, ping me at my email address.
1) I never said you were *playing* a random opponent. Against an *arbitrary* opponent your optimal strategy is to play randomly. Any other strategy that you play can be exploited to your loss. In this way, random really is the game-theoretic optimal strategy. It's not just a buzzword.
2) Of course. I'm exploiting an implementation detail. This is a classic side-channel a
Re: (Score:2)
Random internet hate only because you don't understand it.
Engage your mind, not your ego.
Re: (Score:3)
Re: (Score:2)
I'd think that unless you were playing a very large number of rounds such that you could infer the opponent's PRNG function and seed, or unless the opponent PRNG was REALLY bad, this would not work.
Maybe if the seed were the time to the nearest hour you might be OK. However, if it used time to a millisecond then you'd have almost no chance of success. Any decent PRNG will show what would appear to be completely different behavior with even a slightly different seed.
Now, if the PRNG were really lousy maybe
I wonder if you can train yourself to fool it (Score:2)
Re: (Score:2)
Could you develop a feint move [wikipedia.org] that looks as though you are going for one thing but actually going for the other?
That's the 1st thing that came to my mind. You pull your hand out as a rock, then halfway out you switch to cissors and cut your opponent's paper. It wouldn't work against a human, but in this case it would. Cheating a cheater is no cheating at all.
Better uses for that than rock-paper-scissors (Score:2)
Maybe men can find a better use for a robotic hand that's dextrous and fast enough for rock-paper-scissors? If Howard Wolowitz had one of these, maybe he could've avoided that embarrassing hospital trip?
The Singularity is here! (Score:2)
Device cheats (Score:2)
news at 11.
Until it plays a Wookie (Score:2)
"But sir, nobody worries about upsetting a droid."
"That's 'cause droids don't pull people's arms out of their sockets when they lose. Wookiees are known to do that."
The real reason the robot wins: (Score:5, Funny)
Complete rules for robohand v. human rock, paper, scissors:
Robohand crush rock.
Robohand bend scissors.
Robo-laser burn paper.
Puny humans no match for robohand.
Re: (Score:2)
Hammer smash robohand...
Re: (Score:2)
Human deletes code. Robohand lose.
Robohand deletes human. Robohand always wins. DELETE! DELETE!
Re: (Score:2)
Human deletes code. Robohand lose.
Robohand deletes human. Robohand always wins. DELETE! DELETE!
Source code isn't the issue here, the binary is already running!
At least you had the courtesy of being deleted and getting it over with, some people get the torture of being "Controlled, altered, and then deleted".
Re: (Score:2)
It's well possible that once the robot is set up someone can learn to mislead it and turn 100% loss into 100% win.
Re: (Score:2)
Re: (Score:2)
That would be a fallback strategy yes. The trick I was thinking about was to give the robot enough cues to make it decide, and then change the hand movement. Of course this requires that the robot isn't allowed to change its mind after it's decided.
Re:Can you psych it out? (Score:5, Interesting)
Re:Can you psych it out? (Score:5, Interesting)
A Doctor Who classic episode actually used this theme, with two androids playing RPS against each other. As both AIs were written using the same algorithms, they derived exactly the same strategy in an attempt to predict each other's moves... and every round was a draw, as they always threw the same. The game was played to show why they had sought the Doctor's help in ending an android/Dalek war: As both sides were using computers of near-identical design to determine their actions, every move either side made was preempted and countered by the other to the point that no successful attack could be executed and the war was locked in unbreakable stalemate.
Re: (Score:2)
Deadlock: Neither would move until it can determine the intent of the other, which won't be detectable until that other has started to move. So they'd both just wait for the opponent to go first.
A Doctor Who classic episode actually used this theme, with two androids playing RPS against each other. As both AIs were written using the same algorithms, they derived exactly the same strategy in an attempt to predict each other's moves... and every round was a draw, as they always threw the same. The game was played to show why they had sought the Doctor's help in ending an android/Dalek war: As both sides were using computers of near-identical design to determine their actions, every move either side made was preempted and countered by the other to the point that no successful attack could be executed and the war was locked in unbreakable stalemate.
Rock paper scissors tardis?
Re: (Score:2)
While this is philosophically true, in reality it is not. Because AI is only one part of the equation, the environment determines the outcome, since no environments are the same from the perspective of each player (except a virtual one), the outcomes will be different even if each AI is identical. Furthermore the lack of perfect information each side has of the other side should lead to different outcomes. This is even true with humans, the initial starting conditions and environment significantly determ
Re: (Score:3)
Re: (Score:2)
Which shows how little the doctor knows about computerized strategists.
Re: (Score:2)
Re: (Score:2)
That might be too obvious to a human judge. Better would be to come down like rock and then stick out your fingers like scissors. If it's operating at thousandths of seconds and we are operating at tenths of seconds, then one may well be able to beat it that way
Re: (Score:3)
This is really simple to do from a technical point so what's the merit?
very quick visual recognition of 3d objects via has no merit?
Re: (Score:2)
then you first have to find a handless opponent that can play RPS.